Skip to content

Commit

Permalink
[FIX] sale_company_currency: Changes on currency rate application
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsofl committed Jul 19, 2024
1 parent 1166e93 commit ecb3411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_company_currency/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def _compute_amount_company(self):
if order.currency_id.id == order.company_id.currency_id.id:
to_amount = order.amount_total
else:
to_amount = order.amount_total / order.currency_rate
to_amount = order.amount_total * order.currency_rate
order.amount_total_curr = to_amount

0 comments on commit ecb3411

Please sign in to comment.