From ecb341149da4b551eafcdd9188de172df99af567 Mon Sep 17 00:00:00 2001 From: David Alonso Date: Fri, 19 Jul 2024 09:04:03 +0200 Subject: [PATCH] [FIX] sale_company_currency: Changes on currency rate application --- sale_company_currency/models/sale_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_company_currency/models/sale_order.py b/sale_company_currency/models/sale_order.py index f8ed7c7348e..123cb73a146 100644 --- a/sale_company_currency/models/sale_order.py +++ b/sale_company_currency/models/sale_order.py @@ -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