diff --git a/addons/account/wizard/account_automatic_entry_wizard.py b/addons/account/wizard/account_automatic_entry_wizard.py index faa21a46b57..1b2c6471648 100644 --- a/addons/account/wizard/account_automatic_entry_wizard.py +++ b/addons/account/wizard/account_automatic_entry_wizard.py @@ -225,7 +225,7 @@ class AutomaticEntryWizard(models.TransientModel): 'currency_id': self.journal_id.currency_id.id or self.journal_id.company_id.currency_id.id, 'move_type': 'entry', 'line_ids': [], - 'ref': self._format_strings(_('Adjusting Entry of {date} ({percent:f}% recognized on {new_date})'), grouped_lines[0].move_id, amount), + 'ref': self._format_strings(_('Adjusting Entry of {date} ({percent:.2f}% recognized on {new_date})'), grouped_lines[0].move_id, amount), 'date': fields.Date.to_string(date), 'journal_id': self.journal_id.id, } @@ -347,12 +347,12 @@ class AutomaticEntryWizard(models.TransientModel): accrual_move_offsets[accrual_move] += 2 (accrual_move_lines + destination_move_lines).reconcile() move.message_post(body=self._format_strings(_('Adjusting Entries have been created for this invoice: