diff --git a/addons/account/wizard/account_automatic_entry_wizard.py b/addons/account/wizard/account_automatic_entry_wizard.py index be9858fdcd1..c82fddb4b75 100644 --- a/addons/account/wizard/account_automatic_entry_wizard.py +++ b/addons/account/wizard/account_automatic_entry_wizard.py @@ -453,7 +453,7 @@ class AutomaticEntryWizard(models.TransientModel): rslt = Markup(_("This entry transfers the following amounts to %(destination)s") + "") % { 'destination': Markup("%s") % self.destination_account_id.display_name, 'transfer_logs': Markup().join([ - self._format_strings(transfer_format, move, balance) % {'account_source_name': account.display_name} + self._format_strings(transfer_format % {'account_source_name': account.display_name}, move, balance) for move, balances_per_account in acc_transfer_per_move.items() for account, balance in balances_per_account.items() if account != self.destination_account_id # Otherwise, logging it here is confusing for the user