Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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