[FIX] make the breadcrump string translatable
bzr revid: ado@tinyerp.com-20130313062009-hq120fpelkd7p0qj
This commit is contained in:
commit
d16feda547
|
@ -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')]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue