[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 <qdp@odoo.com> Signed-off-by: Antoine Boonen (aboo) <aboo@odoo.com>
This commit is contained in:
committed by
Antoine Boonen
parent
2d61351705
commit
3527520d83
@@ -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',
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="1">
|
||||
|
||||
<!-- UOM Categories -->
|
||||
<record id="product_uom_categ_service" model="uom.category">
|
||||
<field name="name">Service</field>
|
||||
</record>
|
||||
|
||||
<!-- UOM.UOM -->
|
||||
<!-- SERVICE -->
|
||||
<record id="product_uom_service_unit" model="uom.uom">
|
||||
<field name="category_id" ref="product_uom_categ_service"/>
|
||||
<field name="name">Service Unit</field>
|
||||
<field name="factor" eval="1"/>
|
||||
<field name="uom_type">reference</field>
|
||||
</record>
|
||||
<record id="product_uom_activity" model="uom.uom">
|
||||
<field name="category_id" ref="product_uom_categ_service"/>
|
||||
<field name="name">Activity</field>
|
||||
<field name="factor" eval="1"/>
|
||||
<field name="uom_type">smaller</field>
|
||||
</record>
|
||||
<record id="product_uom_job" model="uom.uom">
|
||||
<field name="category_id" ref="product_uom_categ_service"/>
|
||||
<field name="name">Job</field>
|
||||
<field name="factor" eval="1"/>
|
||||
<field name="uom_type">smaller</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -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"
|
||||
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user