Skip to content

Commit

Permalink
[IMP] l10n_lu_ext: rename matricule to l10n_lu_matricule
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jun 13, 2015
1 parent e1fdafe commit 6a6fcc4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions l10n_lu_ext/i18n/fr.po
Expand Up @@ -39,8 +39,8 @@ msgstr "Luxembourg"

#. module: l10n_lu_ext
#: field:res.company,matricule:0
msgid "National Id Number"
msgstr "Matricule"
msgid "Luxembourg Matricule"
msgstr "Luxembourg Matricule"

#. module: l10n_lu_ext
#: model:ir.actions.act_window,name:l10n_lu_ext.action_account_report_lu_pl
Expand All @@ -56,6 +56,6 @@ msgstr "Comptes de Charges (abrégé)"

#. module: l10n_lu_ext
#: help:res.company,matricule:0
msgid "Tax Identification Number delivered by the authorities as soon as the company is registered"
msgstr "Numéro d'identification fiscale délivré par les autorités dès que la société est enregistrée"
msgid "Tax Identification Number delivered by the Luxembourg authorities as soon as the company is registered"
msgstr "Numéro d'identification fiscale délivré par les autorités du Luxembourg dès que la société est enregistrée"

4 changes: 2 additions & 2 deletions l10n_lu_ext/i18n/l10n_lu_ext.pot
Expand Up @@ -39,7 +39,7 @@ msgstr ""

#. module: l10n_lu_ext
#: field:res.company,matricule:0
msgid "National Id Number"
msgid "Luxembourg Matricule"
msgstr ""

#. module: l10n_lu_ext
Expand All @@ -56,6 +56,6 @@ msgstr ""

#. module: l10n_lu_ext
#: help:res.company,matricule:0
msgid "Tax Identification Number delivered by the authorities as soon as the company is registered"
msgid "Tax Identification Number delivered by the Luxembourg authorities as soon as the company is registered"
msgstr ""

6 changes: 3 additions & 3 deletions l10n_lu_ext/models/res_company.py
Expand Up @@ -30,7 +30,7 @@ class ResCompany(models.Model):

_inherit = "res.company"

matricule = fields.Char(
string='National Id Number', size=13,
help='Tax Identification Number delivered by the authorities '
l10n_lu_matricule = fields.Char(
string='Luxembourg Matricule', size=13,
help='Identification Number delivered by the Luxembourg authorities '
'as soon as the company is registered')
2 changes: 1 addition & 1 deletion l10n_lu_ext/views/res_company.xml
Expand Up @@ -8,7 +8,7 @@
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="before">
<field name="matricule" attrs="{'invisible': [('country_id', '!=', %(base.lu)d)]}"/>
<field name="l10n_lu_matricule" attrs="{'invisible': [('country_id', '!=', %(base.lu)d)]}"/>
</xpath>
</field>
</record>
Expand Down

0 comments on commit 6a6fcc4

Please sign in to comment.