diff options
| author | Zakaria Makrelouf <z.makrelouf@gmail.com> | 2017-01-27 12:40:06 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-01-27 12:41:29 +0100 |
| commit | b3cd386fca81f207d1a1200bbfc786db98f0a7c8 (patch) | |
| tree | 1b558d13558a5593757d8bfebbbc7971b81539f4 /addons | |
| parent | 0c76ff484609a0f3b386b5d223f409ab55f0034d (diff) | |
[FIX] l10n_be_invoice_bba: add translated label
Closes #15245
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot | 20 | ||||
| -rw-r--r-- | addons/l10n_be_invoice_bba/invoice.py | 5 |
2 files changed, 19 insertions, 6 deletions
diff --git a/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot b/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot index 3c6a42e32e4..0adccaaf56a 100644 --- a/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot +++ b/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot @@ -4,10 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-07 14:56+0000\n" -"PO-Revision-Date: 2015-09-07 14:56+0000\n" +"POT-Creation-Date: 2017-01-27 11:40+0000\n" +"PO-Revision-Date: 2017-01-27 11:40+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,6 +16,12 @@ msgstr "" "Plural-Forms: \n" #. module: l10n_be_invoice_bba +#: code:addons/l10n_be_invoice_bba/invoice.py:29 +#, python-format +msgid "BBA Structured Communication" +msgstr "" + +#. module: l10n_be_invoice_bba #: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm msgid "Communication Algorithm" msgstr "" @@ -36,13 +42,19 @@ msgid "Date" msgstr "" #. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:149 +#: code:addons/l10n_be_invoice_bba/invoice.py:150 #, python-format msgid "Empty BBA Structured Communication!\n" "Please fill in a unique BBA Structured Communication." msgstr "" #. module: l10n_be_invoice_bba +#: code:addons/l10n_be_invoice_bba/invoice.py:28 +#, python-format +msgid "Free Communication" +msgstr "" + +#. module: l10n_be_invoice_bba #: constraint:account.invoice:0 msgid "Invalid BBA Structured Communication !" msgstr "" diff --git a/addons/l10n_be_invoice_bba/invoice.py b/addons/l10n_be_invoice_bba/invoice.py index 8e6bd53d4d3..ebdd610996b 100644 --- a/addons/l10n_be_invoice_bba/invoice.py +++ b/addons/l10n_be_invoice_bba/invoice.py @@ -24,8 +24,9 @@ class account_invoice(osv.osv): """Add BBA Structured Communication Type and change labels from 'reference' into 'communication' """
res = super(account_invoice, self)._get_reference_type(cursor, user,
context=context)
- res[[i for i,x in enumerate(res) if x[0] == 'none'][0]] = ('none', 'Free Communication')
- res.append(('bba', 'BBA Structured Communication'))
+ res[[i for i,x in enumerate(res) if x[0] == 'none'][0]] = \
+ ('none', _('Free Communication'))
+ res.append(('bba', _('BBA Structured Communication')))
#l_logger.warning('reference_type = %s' %res )
return res
|
