diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index f8c0bff34df..926f8f3d1be 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -1692,8 +1692,8 @@ class AccountMove(models.Model): "The total of debits equals %s and the total of credits equals %s.\n" "You might want to specify a default account on journal \"%s\" to automatically balance each move.", move.display_name, - format_amount(self.env, sum_debit, move.currency_id), - format_amount(self.env, sum_credit, move.currency_id), + format_amount(self.env, sum_debit, move.company_id.currency_id), + format_amount(self.env, sum_credit, move.company_id.currency_id), move.journal_id.name) raise UserError(error_msg)