codex/team-base-02-cost-currency-basis #43

Manually merged
morrning merged 0 commits from Seyyed/Seyyed_arc:codex/team-base-02-cost-currency-basis into master 2026-11-07 13:21:24 +03:30
Contributor
No description provided.
Split cost_price interpretation by explicit flag:
- 'base' (Native): cost_price is already in base currency; no FX.
- 'document' (Legacy, default): cost_price is in document currency;
  apply FX.

Fixes potential 10x valuation inflation when Native and Legacy
paths are mixed.

Backward compatible: absence of flag = 'document'.

Target tests: 38 passed (26 existing + 8 existing + 4 new).
Full test suite did not complete in 300s (hang on
test_ai_channel_stream.py, unrelated to this change). CI should run
full suite before merge.
morrning approved these changes 2026-11-07 13:16:46 +03:30
morrning left a comment

Approved.

Approved.
Owner

Merged into master as 97af2a18 after resolving the add/add conflict in docs/PRODUCT_VARIANTS_TEAM_BASED_PROGRESS.fa.md with #42. The P01 costing change and tests are on master.

Merged into master as 97af2a18 after resolving the add/add conflict in docs/PRODUCT_VARIANTS_TEAM_BASED_PROGRESS.fa.md with #42. The P01 costing change and tests are on master.
morrning manually merged commit 97af2a185a into master 2026-11-07 13:21:24 +03:30
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hesabix/arc!43
No description provided.