diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index f2d08498227..2eb87ea8b93 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -67,7 +67,13 @@ msgstr "" #. module: account #: code:addons/account/models/account_move.py:382 #, python-format -msgid "%sreversal of: " +msgid "Reversal of: %s" +msgstr "" + +#. module: account +#: code:addons/account/models/account_move.py:382 +#, python-format +msgid "Automatic reversal of: %s" msgstr "" #. module: account @@ -1708,12 +1714,6 @@ msgstr "" msgid "Automated Entries" msgstr "" -#. module: account -#: code:addons/account/models/account_move.py:382 -#, python-format -msgid "Automatic " -msgstr "" - #. module: account #: code:addons/account/models/company.py:394 #, python-format diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 9c43cf5ea50..3a1d43477c2 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -379,7 +379,7 @@ class AccountMove(models.Model): reversed_move = self.copy(default={ 'date': date, 'journal_id': journal_id.id if journal_id else self.journal_id.id, - 'ref': _('%sreversal of: ') % (_('Automatic ') if auto else '') + self.name, + 'ref': (_('Automatic reversal of: %s') if auto else _('Reversal of: %s')) % (self.name), 'auto_reverse': False}) for acm_line in reversed_move.line_ids.with_context(check_move_validity=False): acm_line.write({