From 3527520d83e2478be3daac2f8a28972797d2af83 Mon Sep 17 00:00:00 2001 From: "Antoine (aboo)" Date: Mon, 3 Jul 2023 13:32:32 +0000 Subject: [PATCH] [IMP] l10n_mx: Addition of 3 default UoM. Problem --------- Some Unit of Measures need to be configured when using the Mexican Localisation to be used in their electronic invoicing system. As of now they are not installed by default but many businesses will need to add and configure them manually. Let's make those included in the l10n_mx localisation. Objective --------- Addition of the Service UoM category and the 3 UoMs in the UoM data file: - Service Unit - Activity - Job Solution --------- UOM category and units were added in an XML file in the data folder. Translation added to the uom.pot file to be translated later; translation already added in es_MX since the task is targeted at Mexican localisation. task-3392056 closes odoo/odoo#129672 X-original-commit: 0f88914a4618aa1abd250b6cf701a5f7b381f41e Related: odoo/enterprise#44590 Signed-off-by: Quentin De Paoli Signed-off-by: Antoine Boonen (aboo) --- addons/l10n_mx/__manifest__.py | 1 + addons/l10n_mx/data/l10n_mx_uom.xml | 29 +++++ addons/l10n_mx/i18n/es_MX.po | 167 ++++++++++++++++++++++++++++ addons/l10n_mx/i18n/l10n_mx.pot | 20 ++++ 4 files changed, 217 insertions(+) create mode 100644 addons/l10n_mx/data/l10n_mx_uom.xml create mode 100644 addons/l10n_mx/i18n/es_MX.po diff --git a/addons/l10n_mx/__manifest__.py b/addons/l10n_mx/__manifest__.py index 776e55e8846..eac37eb5ee0 100644 --- a/addons/l10n_mx/__manifest__.py +++ b/addons/l10n_mx/__manifest__.py @@ -37,6 +37,7 @@ With this module you will have: 'views/res_bank_view.xml', 'views/res_config_settings_views.xml', 'views/account_views.xml', + "data/l10n_mx_uom.xml", ], 'demo': [ 'demo/demo_company.xml', diff --git a/addons/l10n_mx/data/l10n_mx_uom.xml b/addons/l10n_mx/data/l10n_mx_uom.xml new file mode 100644 index 00000000000..a3b5ad7e74d --- /dev/null +++ b/addons/l10n_mx/data/l10n_mx_uom.xml @@ -0,0 +1,29 @@ + + + + + + Service + + + + + + + Service Unit + + reference + + + + Activity + + smaller + + + + Job + + smaller + + diff --git a/addons/l10n_mx/i18n/es_MX.po b/addons/l10n_mx/i18n/es_MX.po new file mode 100644 index 00000000000..5b4574e4426 --- /dev/null +++ b/addons/l10n_mx/i18n/es_MX.po @@ -0,0 +1,167 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_mx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-01-29 15:07+0000\n" +"PO-Revision-Date: 2020-01-29 15:07+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_mx +#: model:ir.model.fields,field_description:l10n_mx.field_res_bank__l10n_mx_edi_code +msgid "ABM Code" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_account_account +msgid "Account" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_account_chart_template +msgid "Account Chart Template" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_account_account_tag +msgid "Account Tag" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_res_bank +msgid "Bank" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_res_partner_bank +msgid "Bank Accounts" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields,field_description:l10n_mx.field_account_setup_bank_manual_config__l10n_mx_edi_clabe +#: model:ir.model.fields,field_description:l10n_mx.field_res_partner_bank__l10n_mx_edi_clabe +msgid "CLABE" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: l10n_mx +#: model_terms:ir.ui.view,arch_db:l10n_mx.res_config_settings_view_form +msgid "Create your electronic invoices automatically (CFDI format)" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields.selection,name:l10n_mx.selection__account_account_tag__nature__a +msgid "Creditable Account" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields.selection,name:l10n_mx.selection__account_account_tag__nature__d +msgid "Debitable Account" +msgstr "" + +#. module: l10n_mx +#: code:addons/l10n_mx/models/chart_template.py:0 +#, python-format +msgid "Effectively Paid" +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_isr_ret_10 +msgid "ISR Retencion 10%" +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_iva_0 +msgid "IVA 0%" +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_iva_16 +msgid "IVA 16% " +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_iva_8 +msgid "IVA 8%" +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_iva_ret_10 +msgid "IVA Retencion 10%" +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_iva_ret_1067 +msgid "IVA Retencion 10.67%" +msgstr "" + +#. module: l10n_mx +#: model:account.tax.group,name:l10n_mx.tax_group_iva_ret_4 +msgid "IVA Retencion 4%" +msgstr "" + +#. module: l10n_mx +#: model:ir.model,name:l10n_mx.model_account_journal +msgid "Journal" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields,field_description:l10n_mx.field_res_config_settings__module_l10n_mx_edi +msgid "Mexican Electronic Invoicing" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields,field_description:l10n_mx.field_account_account_tag__nature +msgid "Nature" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields,help:l10n_mx.field_account_setup_bank_manual_config__l10n_mx_edi_clabe +#: model:ir.model.fields,help:l10n_mx.field_res_partner_bank__l10n_mx_edi_clabe +msgid "" +"Standardized banking cipher for Mexico. More info wikipedia.org/wiki/CLABE" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields,help:l10n_mx.field_res_bank__l10n_mx_edi_code +msgid "" +"Three-digit number assigned by the ABM to identify banking institutions (ABM" +" is an acronym for Asociación de Bancos de México)" +msgstr "" + +#. module: l10n_mx +#: model:ir.model.fields,help:l10n_mx.field_account_account_tag__nature +msgid "Used in Mexican report of electronic accounting (account nature)." +msgstr "" + +#. module: uom +#: model:uom.category,name:uom.product_uom_categ_service +msgid "Service" +msgstr "Servicios" + +#. module: uom +#: model:uom.uom,name:uom.product_uom_service_unit +msgid "Service Unit" +msgstr "Unidad de Servicio" + +#. module: uom +#: model:uom.uom,name:uom.product_uom_activity +msgid "Activity" +msgstr "Actividad" + +#. module: uom +#: model:uom.uom,name:uom.product_uom_job +msgid "Job" +msgstr "Trabajo" diff --git a/addons/l10n_mx/i18n/l10n_mx.pot b/addons/l10n_mx/i18n/l10n_mx.pot index a96adaf029b..e817628a614 100644 --- a/addons/l10n_mx/i18n/l10n_mx.pot +++ b/addons/l10n_mx/i18n/l10n_mx.pot @@ -190,3 +190,23 @@ msgstr "" #: model:account.account.tag,name:l10n_mx.tag_iva msgid "VAT" msgstr "" + +#. module: uom +#: model:uom.category,name:uom.product_uom_categ_service +msgid "Service" +msgstr "" + +#. module: uom +#: model:uom.uom,name:uom.product_uom_service_unit +msgid "Service Unit" +msgstr "" + +#. module: uom +#: model:uom.uom,name:uom.product_uom_activity +msgid "Activity" +msgstr "" + +#. module: uom +#: model:uom.uom,name:uom.product_uom_job +msgid "Job" +msgstr ""