diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 17135ed1f76..ab122aa6730 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -1121,10 +1121,10 @@ class account_invoice(osv.osv): if not ids: return [] types = { - 'out_invoice': 'Invoice ', - 'in_invoice': 'Sup. Invoice ', - 'out_refund': 'Refund ', - 'in_refund': 'Supplier Refund ', + 'out_invoice': _('Invoice '), + 'in_invoice': _('Sup. Invoice '), + 'out_refund': _('Refund '), + 'in_refund': _('Supplier Refund '), } return [(r['id'], (r['number']) or types[r['type']] + (r['name'] or '')) for r in self.read(cr, uid, ids, ['type', 'number', 'name'], context, load='_classic_write')] diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index f78e0427d5c..bd086f8fcd3 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -52,6 +52,30 @@ msgstr "" msgid "Residual" msgstr "" +#. module: account +#: code:addons/account/account_invoice.py:1124 +#, python-format +msgid "Invoice " +msgstr "" + +#. module: account +#: code:addons/account/account_invoice.py:1125 +#, python-format +msgid "Sup. Invoice " +msgstr "" + +#. module: account +#: code:addons/account/account_invoice.py:1126 +#, python-format +msgid "Refund " +msgstr "" + +#. module: account +#: code:addons/account/account_invoice.py:1127 +#, python-format +msgid "Supplier Refund " +msgstr "" + #. module: account #: code:addons/account/account_bank_statement.py:368 #, python-format