diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index fdf03da08d5..ec51ccbfa3d 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -14519,6 +14519,12 @@ msgstr "" msgid "Unposted" msgstr "" +#. module: account +#: code:addons/account/models/company.py:0 +#, python-format +msgid "Unposted Entries" +msgstr "" + #. module: account #: model_terms:ir.ui.view,arch_db:account.view_account_move_filter msgid "Unposted Journal Entries" diff --git a/addons/account/models/company.py b/addons/account/models/company.py index 4c71924a013..49122b4a247 100644 --- a/addons/account/models/company.py +++ b/addons/account/models/company.py @@ -316,7 +316,7 @@ class ResCompany(models.Model): error_msg = _('There are still unposted entries in the period you want to lock. You should either post or delete them.') action_error = { 'view_mode': 'tree', - 'name': 'Unposted Entries', + 'name': _('Unposted Entries'), 'res_model': 'account.move', 'type': 'ir.actions.act_window', 'domain': [('id', 'in', draft_entries.ids)],