diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index b4705245268..0fad990e6d6 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -626,7 +626,7 @@ class account_invoice(osv.osv): if r[1] == 'journal_id' and r[2] in journal_ids: val['journal_id'] = r[2] if not val.get('journal_id', False): - raise osv.except_osv(_('Configuration Error!'), (_('Cannot find any account journal of %s type for this company.\n\nYou can create one in the menu: \nConfiguration\Journals\Journals.') % (journal_type))) + raise osv.except_osv(_('Configuration Error!'), (_('Cannot find any account journal of %s type for this company.\n\nYou can create one in the menu: \nConfiguration\Journals\Journals.') % _(journal_type))) dom = {'journal_id': [('id', 'in', journal_ids)]} else: journal_ids = obj_journal.search(cr, uid, []) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index f78e0427d5c..ffc46409304 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -15,6 +15,30 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: account +#: code:addons/account/account_invoice.py:601 +#, python-format +msgid "sale" +msgstr "" + +#. module: account +#: code:addons/account/account_invoice.py:603 +#, python-format +msgid "sale_refund" +msgstr "" + +#. module: account +#: code:addons/account/account_invoice.py:605 +#, python-format +msgid "purchase_refund" +msgstr "" + +#. module: account +#: code:addons/account/account_invoice.py:607 +#, python-format +msgid "purchase" +msgstr "" + #. module: account #: model:process.transition,name:account.process_transition_supplierreconcilepaid0 msgid "System payment"