[FIX] Translations in intrastat_product

This commit is contained in:
Daniel Duque
2019-06-03 12:51:41 +02:00
committed by Alexis de Lattre
parent 1b2b3700d9
commit f89d184f8e
2 changed files with 21 additions and 3 deletions

View File

@@ -127,6 +127,12 @@ msgstr ""
msgid "Amount in company currency to write in the declaration. Amount in company currency = amount in invoice currency converted to company currency with the rate of the invoice date."
msgstr ""
#. module: intrastat_product
#: code:addons/intrastat_product/models/intrastat_product_declaration.py:139
#, python-format
msgid "Append"
msgstr ""
#. module: intrastat_product
#: model_terms:ir.ui.view,arch_db:intrastat_product.intrastat_unit_search
msgid "Archived"
@@ -847,6 +853,12 @@ msgstr ""
msgid "Net weight in Kg"
msgstr ""
#. module: intrastat_product
#: code:addons/intrastat_product/models/intrastat_product_declaration.py:140
#, python-format
msgid "Nihil"
msgstr ""
#. module: intrastat_product
#: code:addons/intrastat_product/report/intrastat_product_report_xls.py:240
#, python-format
@@ -1012,6 +1024,12 @@ msgstr ""
msgid "Related Transactions"
msgstr ""
#. module: intrastat_product
#: code:addons/intrastat_product/models/intrastat_product_declaration.py:138
#, python-format
msgid "Replace"
msgstr ""
#. module: intrastat_product
#: model:ir.model.fields,field_description:intrastat_product.field_intrastat_product_computation_line__reporting_level
#: model:ir.model.fields,field_description:intrastat_product.field_intrastat_product_declaration__reporting_level

View File

@@ -135,9 +135,9 @@ class IntrastatProductDeclaration(models.Model):
@api.model
def _get_action(self):
return [
('replace', 'Replace'),
('append', 'Append'),
('nihil', 'Nihil')]
('replace', _('Replace')),
('append', _('Append')),
('nihil', _('Nihil'))]
@api.depends('company_id')
def _compute_company_country_code(self):