diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 376a75cedd0..0716485c708 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -675,7 +675,7 @@ class AccountMoveLine(models.Model): line_currency = (line.currency_id and line.amount_currency) and line.currency_id or company_currency amount_currency_str = "" total_amount_currency_str = "" - if line_currency != company_currency: + if line_currency != company_currency and target_currency != company_currency: total_amount = line.amount_currency actual_debit = debit > 0 and amount_currency or 0.0 actual_credit = credit > 0 and -amount_currency or 0.0 @@ -683,7 +683,7 @@ class AccountMoveLine(models.Model): total_amount = abs(debit - credit) actual_debit = debit > 0 and amount or 0.0 actual_credit = credit > 0 and -amount or 0.0 - if line_currency != target_currency: + if line_currency != target_currency and target_currency != company_currency: amount_currency_str = formatLang(self.env, abs(actual_debit or actual_credit), currency_obj=line_currency) total_amount_currency_str = formatLang(self.env, total_amount, currency_obj=line_currency) ctx = context.copy()