[FIX] l10n_ar: add missing translations
Issue: spanish_ar translation is missing for some menu items and template names in the accounting app Steps to reproduce: 1- install l10n_ar 2- switch language to Spanish(AR) 3- Open accounting app 4- check menu items Solution: Issue was that the translation file was called es.po and for spanish (AR) language it should fallback to es_419 As per the translation code found here in in 'translate.py' in odoo tools https://github.com/odoo/odoo/blob/20a3998c3073af8a5d95f8303283107363caed85/odoo/tools/translate.py#L1565-L1574 opw-3601556 closes odoo/odoo#146742 Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com>
This commit is contained in:
@@ -334,6 +334,20 @@ msgstr "Inicio actividades"
|
||||
msgid "Argentina: This code will be used on electronic invoice"
|
||||
msgstr "Este código será utilizado en facturación electrónica"
|
||||
|
||||
#. module: l10n_ar
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_ar/models/template_ar_ex.py:0
|
||||
#, python-format
|
||||
msgid "Argentine Generic Chart of Accounts for Exempt Individuals"
|
||||
msgstr "Plan Contable Genérico Argentino para Personas Físicas Exentas"
|
||||
|
||||
#. module: l10n_ar
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_ar/models/template_ar_ri.py:0
|
||||
#, python-format
|
||||
msgid "Argentine Generic Chart of Accounts for Registered Accountants"
|
||||
msgstr "Plan Contable Genérico Argentino para Contadores Públicos"
|
||||
|
||||
#. module: l10n_ar
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_ar.view_document_type_filter
|
||||
msgid "Argentinean Documents"
|
||||
@@ -1194,6 +1208,13 @@ msgstr "Posición fiscal"
|
||||
msgid "Formatted VAT"
|
||||
msgstr "CUIT Formateado"
|
||||
|
||||
#. module: l10n_ar
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_ar/models/template_ar_base.py:0
|
||||
#, python-format
|
||||
msgid "Generic Chart of Accounts Argentina Single Taxpayer / Basis"
|
||||
msgstr "Plan General Contable Argentina Monotributista / Base"
|
||||
|
||||
#. module: l10n_ar
|
||||
#: model:ir.model.fields,help:l10n_ar.field_res_country__l10n_ar_legal_entity_vat
|
||||
msgid ""
|
||||
|
||||
@@ -330,6 +330,20 @@ msgstr ""
|
||||
msgid "Argentina: This code will be used on electronic invoice"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_ar
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_ar/models/template_ar_ex.py:0
|
||||
#, python-format
|
||||
msgid "Argentine Generic Chart of Accounts for Exempt Individuals"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_ar
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_ar/models/template_ar_ri.py:0
|
||||
#, python-format
|
||||
msgid "Argentine Generic Chart of Accounts for Registered Accountants"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_ar
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_ar.view_document_type_filter
|
||||
msgid "Argentinean Documents"
|
||||
@@ -1176,6 +1190,13 @@ msgstr ""
|
||||
msgid "Formatted VAT"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_ar
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_ar/models/template_ar_base.py:0
|
||||
#, python-format
|
||||
msgid "Generic Chart of Accounts Argentina Single Taxpayer / Basis"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_ar
|
||||
#: model:ir.model.fields,help:l10n_ar.field_res_country__l10n_ar_legal_entity_vat
|
||||
msgid ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models
|
||||
from odoo import models, _
|
||||
from odoo.addons.account.models.chart_template import template
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class AccountChartTemplate(models.AbstractModel):
|
||||
'property_account_income_categ_id': 'base_venta_de_mercaderia',
|
||||
'property_tax_payable_account_id': 'base_default_vat',
|
||||
'property_tax_receivable_account_id': 'base_default_vat',
|
||||
'name': 'Generic Chart of Accounts Argentina Single Taxpayer / Basis',
|
||||
'name': _('Generic Chart of Accounts Argentina Single Taxpayer / Basis'),
|
||||
'code_digits': '12',
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models
|
||||
from odoo import models, _
|
||||
from odoo.addons.account.models.chart_template import template
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class AccountChartTemplate(models.AbstractModel):
|
||||
@template('ar_ex')
|
||||
def _get_ar_ex_template_data(self):
|
||||
return {
|
||||
'name': 'Argentine Generic Chart of Accounts for Exempt Individuals',
|
||||
'name': _('Argentine Generic Chart of Accounts for Exempt Individuals'),
|
||||
'parent': 'ar_base',
|
||||
'code_digits': '12',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models
|
||||
from odoo import models, _
|
||||
from odoo.addons.account.models.chart_template import template
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class AccountChartTemplate(models.AbstractModel):
|
||||
@template('ar_ri')
|
||||
def _get_ar_ri_template_data(self):
|
||||
return {
|
||||
'name': 'Argentine Generic Chart of Accounts for Registered Accountants',
|
||||
'name': _('Argentine Generic Chart of Accounts for Registered Accountants'),
|
||||
'parent': 'ar_ex',
|
||||
'code_digits': '12',
|
||||
'property_tax_payable_account_id': 'ri_iva_saldo_a_pagar',
|
||||
|
||||
Reference in New Issue
Block a user