diff --git a/addons/l10n_uy/__init__.py b/addons/l10n_uy/__init__.py
index d581b39cea7..ea1ce1e721d 100644
--- a/addons/l10n_uy/__init__.py
+++ b/addons/l10n_uy/__init__.py
@@ -1,2 +1,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
+from . import demo
diff --git a/addons/l10n_uy/__manifest__.py b/addons/l10n_uy/__manifest__.py
index e3196899877..b6002447a49 100644
--- a/addons/l10n_uy/__manifest__.py
+++ b/addons/l10n_uy/__manifest__.py
@@ -5,23 +5,50 @@
'icon': '/account/static/description/l10n.png',
'countries': ['uy'],
'version': '0.1',
- 'author': 'Uruguay l10n Team, Guillem Barba',
+ 'author': 'Uruguay l10n Team, Guillem Barba, ADHOC',
'category': 'Accounting/Localizations/Account Charts',
'description': """
General Chart of Accounts.
==========================
-Provide Templates for Chart of Accounts, Taxes for Uruguay.
+This module adds accounting functionalities for the Uruguayan localization, representing the minimum required configuration for a company to operate in Uruguay under the regulations and guidelines provided by the DGI (Dirección General Impositiva).
+
+Among the functionalities are:
+
+* Uruguayan Generic Chart of Account
+* Pre-configured VAT Taxes and Tax Groups.
+* Legal document types in Uruguay.
+* Valid contact identification types in Uruguay.
+* Configuration and activation of Uruguayan Currencies (UYU, UYI - Unidad Indexada Uruguaya).
+* Frequently used default contacts already configured: DGI, Consumidor Final Uruguayo.
+
+Configuration
+-------------
+
+Demo data for testing:
+
+* Uruguayan company named "UY Company" with the Uruguayan chart of accounts already installed, pre configured taxes, document types and identification types.
+* Uruguayan contacts for testing:
+
+ * IEB Internacional
+ * Consumidor Final Anónimo Uruguayo.
""",
'depends': [
'account',
+ 'l10n_latam_invoice_document',
+ 'l10n_latam_base',
],
'data': [
'data/account_tax_report_data.xml',
+ 'data/l10n_latam.document.type.csv',
+ 'data/l10n_latam_identification_type_data.xml',
+ 'data/res_partner_data.xml',
+ 'views/account_tax_views.xml',
],
'demo': [
'demo/demo_company.xml',
+ 'demo/res_partner_demo.xml',
],
'license': 'LGPL-3',
}
diff --git a/addons/l10n_uy/data/l10n_latam.document.type.csv b/addons/l10n_uy/data/l10n_latam.document.type.csv
new file mode 100644
index 00000000000..7a3096cd265
--- /dev/null
+++ b/addons/l10n_uy/data/l10n_latam.document.type.csv
@@ -0,0 +1,52 @@
+"id","code","name","internal_type","doc_code_prefix","country_id/id"
+"dc_inv",0,"Invoice","invoice","FC","base.uy"
+"dc_boleta_venta_contado",0,"Boleta","invoice","BO","base.uy"
+"dc_cn_inv",0,"Credit Note","credit_note","NC","base.uy"
+"dc_dn_inv",0,"Debit Note","debit_note","ND","base.uy"
+"dc_recibo_cobranza",0,"Collection Receipt","invoice","RC","base.uy"
+"dc_inv_expo",0,"Export Invoice","invoice","FCE","base.uy"
+"dc_nc_expo",0,"Export Credit Note","credit_note","NCE","base.uy"
+"dc_nd_expo",0,"Export Debit Note","debit_note","NDE","base.uy"
+"dc_remito",0,"Delivery Guide",,"REM","base.uy"
+"dc_e_ticket",101,"e-Ticket","invoice","e-TK","base.uy"
+"dc_cn_e_ticket",102,"e-Ticket Credit Note","credit_note","e-NCTK","base.uy"
+"dc_dn_e_ticket",103,"e-Ticket Debit Note","debit_note","e-NDTK","base.uy"
+"dc_e_inv",111,"e-Invoice","invoice","e-FC","base.uy"
+"dc_cn_e_inv",112,"e-Invoice Credit Note","credit_note","e-NC","base.uy"
+"dc_dn_e_inv",113,"e-Invoice Debit Note","debit_note","e-ND","base.uy"
+"dc_e_inv_exp",121,"Export e-Invoice","invoice","e-FCE","base.uy"
+"dc_cn_e_inv_exp",122,"Export e-Invoice Credit Note","credit_note","e-NCE","base.uy"
+"dc_dn_e_inv_exp",123,"Export e-Invoice Debit Note","debit_note","e-NDE","base.uy"
+"dc_e_remito_expo",124,"Export e-Delivery Guide",,"e-REME","base.uy"
+"dc_e_ticket_venta_por_cuenta_ajena",131,"e-Ticket Sale By Third Party","invoice","e-TK-CA","base.uy"
+"dc_nota_de_credito_e_ticket_venta_por_cuenta_ajena",132,"e-Ticket Sale By Third Party Credit Note","credit_note","e-NCTK-CA","base.uy"
+"dc_nota_de_debito_e_ticket_venta_por_cuenta_ajena",133,"e-Ticket Sale By Third Party Debit Note","debit_note","e-NDTK-CA","base.uy"
+"dc_e_factura_venta_por_cuenta_ajena",141,"e-Invoice Sale By Third Party","invoice","e-FC-CA","base.uy"
+"dc_nota_de_credito_e_factura_venta_por_cuenta_ajena",142,"e-Invoice Sale By Third Party Credit Note","credit_note","e-NC-CA","base.uy"
+"dc_nota_de_debito_e_factura_venta_por_cuenta_ajena",143,"e-Invoice Sale By Third Party Debit Note","debit_note","e-ND-CA","base.uy"
+"dc_e_boleta",151,"e-Boleta","invoice","e-BO","base.uy"
+"dc_nota_de_credito_e_boleta",152,"Credit Note e-Boleta","credit_note","e-BO-NC","base.uy"
+"dc_nota_de_debito_e_boleta",153,"Debit Note e-Boleta","debit_note","e-BO-ND","base.uy"
+"dc_e_remito",181,"e-Delivery Guide",,"e-REM","base.uy"
+"dc_e_resguardo",182,"e-Resguardo","invoice","e-RES","base.uy"
+"dc_e_ticket_cont",201,"Contingency e-Ticket","invoice","e-TK-C","base.uy"
+"dc_cn_e_ticket_cont",202,"Contingency e-Ticket Credit Note","credit_note","e-NCTK-C","base.uy"
+"dc_dn_e_ticket_cont",203,"Contingency e-Ticket Debit Note","debit_note","e-NDTK-C","base.uy"
+"dc_e_factura_contingencia",211,"Contingency e-Invoice","invoice","e-FC-C","base.uy"
+"dc_nota_de_crédito_de_e_factura_contingencia",212,"Contingency e-Invoice Credit Note","credit_note","e-NC-C","base.uy"
+"dc_nota_de_débito_de_e_factura_contingencia",213,"Contingency e-Invoice Debit Note","debit_note","e-ND-C","base.uy"
+"dc_e_factura_exportación_contingencia",221,"Contingency Export e-Invoice","invoice","e-FCE-C","base.uy"
+"dc_nota_de_crédito_de_e_factura_exportación_contingencia",222,"Contingency Export e-Invoice Credit Note","credit_note","e-NCE-C","base.uy"
+"dc_nota_de_débito_de_e_factura_exportación_contingencia",223,"Contingency Export e-Invoice Debit Note","debit_note","e-NDE-C","base.uy"
+"dc_e_remito_de_exportación_contingencia",224,"Contingency Export e-Delivery Guide",,"e-REME-C","base.uy"
+"dc_e_ticket_venta_por_cuenta_ajena_contingencia",231,"Contingency e-Ticket Sale By Third Party","invoice","e-TK-CAC","base.uy"
+"dc_nota_de_crédito_de_e_ticket_venta_por_cuenta_ajena_contingencia",232,"Contingency e-Ticket Sale By Third Party Credit Note","credit_note","e-NCTK-CAC","base.uy"
+"dc_nota_de_débito_de_e_ticket_venta_por_cuenta_ajena_contingencia",233,"Contingency e-Ticket Sale By Third Party Debit Note","debit_note","e-NDTK-CAC","base.uy"
+"dc_e_factura_venta_por_cuenta_ajena_contingencia",241,"Contingency e-Invoice Sale By Third Party","invoice","e-FC-CAC","base.uy"
+"dc_nota_de_crédito_de_e_factura_venta_por_cuenta_ajena_contingencia",242,"Contingency e-Invoice Sale By Third Party Credit Note","credit_note","e-NC-CAC","base.uy"
+"dc_nota_de_débito_de_e_factura_venta_por_cuenta_ajena_contingencia",243,"Contingency e-Invoice Sale By Third Party Debit Note","debit_note","e-ND-CAC","base.uy"
+"dc_e_boleta_contingencia",251,"Contingency e-Boleta","invoice","e-BO-C","base.uy"
+"dc_nota_de_credito_e_boleta_contingencia",252,"Contingency e-Boleta Credit Note","credit_note","e-BO-NC-C","base.uy"
+"dc_nota_de_debito_e_boleta_contingencia",253,"Contingency e-Boleta Debit Note","debit_note","e-BO-ND-C","base.uy"
+"dc_e_remito_contingencia",281,"Contingency e-Delivery Guide",,"e-REM-C","base.uy"
+"dc_e_resguardo_contingencia",282,"Contingency e-Resguardo","invoice","e-RES-C","base.uy"
diff --git a/addons/l10n_uy/data/l10n_latam_identification_type_data.xml b/addons/l10n_uy/data/l10n_latam_identification_type_data.xml
new file mode 100644
index 00000000000..0bb3189aa0c
--- /dev/null
+++ b/addons/l10n_uy/data/l10n_latam_identification_type_data.xml
@@ -0,0 +1,61 @@
+
+
+
+
+ NIE
+ Foreigner Identity Number
+
+ 10
+ 1
+
+
+
+ RUT / RUC
+ Unique Tax Registry / Unique Taxpayer Registry
+
+
+ 30
+ 2
+
+
+
+ CI
+ Identification Card
+
+ 40
+ 3
+
+
+
+ OTR
+ Others
+
+ 50
+ 4
+
+
+
+ PAS
+ Passport (all countries)
+
+ 60
+ 5
+
+
+
+ DNI
+ National identity document of Argentina, Brazil, Chile or Paraguay
+
+ 70
+ 6
+
+
+
+ NIFE
+ Foreign tax identification number
+
+ 80
+ 7
+
+
+
diff --git a/addons/l10n_uy/data/res_partner_data.xml b/addons/l10n_uy/data/res_partner_data.xml
new file mode 100644
index 00000000000..668112f46a4
--- /dev/null
+++ b/addons/l10n_uy/data/res_partner_data.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+ DGI
+
+
+ https://www.dgi.gub.uy
+
+
+
+
+ Consumidor Final Anónimo
+
+
+
+
+
diff --git a/addons/l10n_uy/data/template/account.account-uy.csv b/addons/l10n_uy/data/template/account.account-uy.csv
index 8c08625feab..c82cc4e969e 100644
--- a/addons/l10n_uy/data/template/account.account-uy.csv
+++ b/addons/l10n_uy/data/template/account.account-uy.csv
@@ -1,151 +1,135 @@
"id","name","code","account_type","reconcile","name@es"
-"uy_code_11201","Bank Deposits","11201","asset_current","True","Depósitos Bancarios"
-"uy_code_11202","Public Securities","11202","asset_current","True","Valores Públicos"
-"uy_code_11211","Allowance for impairment","11211","asset_current","True","Previsión para desvalorizaciones"
-"uy_code_11212","Interest received in advance","11212","asset_current","True","Intereses percibidos por adelantado"
-"uy_code_11300","Sundry Debtors (def)","11300","asset_receivable","True","Deudores Varios (def)"
-"uy_code_11301","Simple Debtors Plaza","11301","asset_receivable","True","Deudores Simples Plaza"
-"uy_code_11302","Export debtors","11302","asset_receivable","True","Deudores por Exportaciones"
-"uy_code_11303","Notes Receivable MN","11303","asset_current","True","Documentos a Cobrar MN"
-"uy_code_11304","Notes Receivable ME","11304","asset_current","True","Documentos a Cobrar ME"
-"uy_code_11305","Checks in portfolio MN","11305","asset_current","True","Cheques en Cartera MN"
-"uy_code_11306","Checks in ME Portfolio","11306","asset_current","True","Cheques en Cartera ME"
+"uy_code_11300","Sale Debtors","11300","asset_receivable","True","Deudores por Ventas"
+"uy_code_11303","Notes Receivable MN","11303","asset_current","False","Documentos a Cobrar MN"
+"uy_code_11304","Notes Receivable ME","11304","asset_current","False","Documentos a Cobrar ME"
+"uy_code_11305","Checks in portfolio MN","11305","asset_current","False","Cheques en Cartera MN"
+"uy_code_11306","Checks in ME Portfolio","11306","asset_current","False","Cheques en Cartera ME"
"uy_code_11307","Sundry Debtors (PoS)","11307","asset_receivable","True","Deudores Varios (PoS)"
-"uy_code_11311","Allowance for Uncollectible Accounts Receivable","11311","asset_current","True","Prevision para Deudores Incobrables"
-"uy_code_11312","Provisions for expenses and bonuses","11312","asset_current","True","Prevision p/dtos y Bonificaciones"
-"uy_code_11313","Interest received in advance","11313","asset_current","True","Intereses percibidos por adelantado"
-"uy_code_11314","Deferred income","11314","asset_current","True","Ingresos diferidos"
-"uy_code_11401","Advances to Suppliers","11401","liability_current","True","Anticipos a Proveedores"
-"uy_code_11402","Parent Company, Controlling Companies","11402","expense","True","Casa Matriz, Empresas Controlantes"
-"uy_code_11403","Controlled / Related","11403","expense","True","Controladas / Vinculadas"
-"uy_code_11404","Security Deposits","11404","expense","True","Depositos en Garantia"
-"uy_code_11405","Advance payments","11405","liability_current","True","Pagos adelantados"
-"uy_code_11406","Debit balances of Directors' accounts receivable","11406","asset_current","True","Saldos Deudor de ctas de Directores"
-"uy_code_11501","VAT Minimum Purchases","11501","asset_current","True","Iva Compras Mínima"
-"uy_code_11502","VAT Basic Purchases","11502","asset_current","True","Iva Compras Básica"
-"uy_code_11505","VAT Payments","11505","asset_current","True","Iva Pagos"
-"uy_code_11506","VAT Withholdings","11506","asset_current","True","Iva Retenciones"
-"uy_code_11507","Import VAT","11507","asset_current","True","Iva Importación"
-"uy_code_11508","Advance Import Tax","11508","asset_current","True","Iva Anticipo Importación"
-"uy_code_11601","Tax on Income from Economic Activities - Advance","11601","asset_current","True","Irae Anticipo"
-"uy_code_11602","Equity Advances","11602","asset_current","True","Patrimonio Anticipo"
-"uy_code_11603","Icosa Advance","11603","asset_current","True","Icosa Anticipo"
-"uy_code_11621","Various","11621","asset_current","True","Diversos"
-"uy_code_11631","Allowance for Uncollectible Accounts Receivable","11631","expense","True","Prevision para Deudores Incobrables"
-"uy_code_11632","Income received in advance","11632","income","True","Ingresos percibidos por adelantado"
-"uy_code_11633","Deferred income","11633","income","True","Ingresos diferidos"
-"uy_code_11701","Resale Merchandise","11701","asset_current","True","Mercaderia de Reventa"
-"uy_code_11702","Finished Products","11702","asset_current","True","Productos Terminados"
-"uy_code_11703","Products in Process","11703","asset_current","True","Productos en Proceso"
-"uy_code_11704","Raw Materials","11704","asset_current","True","Materias Primas"
-"uy_code_11705","Materials and Supplies","11705","asset_current","True","Materiales y Suministros"
-"uy_code_11706","Imports in process","11706","asset_current","True","Importaciones en tramite"
-"uy_code_11711","Allowance for impairment","11711","asset_current","True","Previsión para desvalorizaciones"
-"uy_code_12101","Long-term loans","12101","asset_current","True","Créditos a Largo Plazo"
-"uy_code_12201","Non-current assets","12201","asset_current","True","Bienes de cambio no corrientes"
-"uy_code_12301","Bank Deposits","12301","asset_current","True","Depósitos Bancarios"
-"uy_code_12302","Real Estate","12302","asset_current","True","Inmuebles"
-"uy_code_12303","Original and revaluated values as per appendix","12303","asset_current","True","Valores orig. y revaluados s/anexo"
-"uy_code_12304","Less: Amort. Accum.","12304","asset_current","True","Menos: Amort. Acum."
-"uy_code_12305","Securities and Shares","12305","asset_current","True","Titulos y Acciones"
-"uy_code_12311","Allowance for Impairment","12311","expense","True","Prevision para Desvalorizaciones"
-"uy_code_12312","Interest received in advance","12312","income","True","Intereses percibidos por adelantado"
-"uy_code_12401","Furniture and Fixtures","12401","asset_current","True","Muebles y Útiles"
-"uy_code_12402","Real Estate","12402","asset_current","True","Inmuebles"
-"uy_code_12403","Machines and Tools","12403","asset_current","True","Maquinas y Herramientas"
-"uy_code_12404","Vehicles","12404","asset_current","True","Vehículos"
-"uy_code_12420","Furniture and Fixtures Amort.","12420","asset_current","True","Amort.Ac.Mueb.y Utiles"
-"uy_code_12421","Real Estate Amort.","12421","asset_current","True","Amort.Ac.Inmuebles"
-"uy_code_12422","Machinery and Equipment Amort.","12422","asset_current","True","Amort.Ac.Maq.y Herram."
-"uy_code_12423","Vehicle Amort. Shrinkage","12423","asset_current","True","Amort.Ac.Vehiculos"
-"uy_code_12501","Patents, trademarks and licenses","12501","asset_current","True","Patentes, marcas y licencias"
-"uy_code_12502","Research expenses","12502","asset_current","True","Gastos de investigacion"
-"uy_code_12520","Accumulated Depreciation","12520","asset_current","True","Amortizaciones Acumuladas"
+"uy_code_11311","Allowance for Uncollectible Accounts Receivable","11311","asset_current","False","Prevision para Deudores Incobrables"
+"uy_code_11312","Provisions for expenses and bonuses","11312","asset_current","False","Prevision p/dtos y Bonificaciones"
+"uy_code_11313","Interest received in advance","11313","asset_current","False","Intereses percibidos por adelantado"
+"uy_code_11401","Advances to Suppliers","11401","liability_current","False","Anticipos a Proveedores"
+"uy_code_11404","Security Deposits","11404","asset_current","False","Depositos en Garantia"
+"uy_code_11405","Advance payments","11405","liability_current","False","Pagos adelantados"
+"uy_code_11406","Debit balances of Directors' accounts receivable","11406","asset_current","False","Saldos Deudor de ctas de Directores"
+"uy_code_11501","VAT Minimum Purchases","11501","asset_current","False","Iva Compras Mínima"
+"uy_code_11502","VAT Basic Purchases","11502","asset_current","False","Iva Compras Básica"
+"uy_code_11505","VAT to be credited on purchases","11505","asset_receivable","True","IVA acreditable en compras"
+"uy_code_11506","VAT Withholdings","11506","asset_current","False","Iva Retenciones"
+"uy_code_11507","Import VAT","11507","asset_current","False","Iva Importación"
+"uy_code_11508","Advance Import Tax","11508","asset_current","False","Iva Anticipo Importación"
+"uy_code_11601","Tax on Income from Economic Activities - Advance","11601","asset_current","False","Irae Anticipo"
+"uy_code_11602","Equity Advances","11602","asset_current","False","Patrimonio Anticipo"
+"uy_code_11603","Icosa Advance","11603","asset_current","False","Icosa Anticipo"
+"uy_code_11621","Various","11621","asset_current","False","Diversos"
+"uy_code_11632","Income received in advance","4110","income","False","Ingresos percibidos por adelantado"
+"uy_code_21321","Deferred Revenue","21321","liability_current","False","Ingreso diferidos"
+"uy_code_11701","Resale Merchandise","11701","asset_current","False","Mercaderia de Reventa"
+"uy_code_11702","Finished Products","11702","asset_current","False","Productos Terminados"
+"uy_code_11703","Products in Process","11703","asset_current","False","Productos en Proceso"
+"uy_code_11704","Raw Materials","11704","asset_current","False","Materias Primas"
+"uy_code_11705","Materials and Supplies","11705","asset_current","False","Materiales y Suministros"
+"uy_code_11706","Imports in process","11706","asset_current","False","Importaciones en tramite"
+"uy_code_11711","Allowance for impairment","11711","asset_current","False","Previsión para desvalorizaciones"
+"uy_code_12101","Long-term loans","12101","asset_current","False","Créditos a Largo Plazo"
+"uy_code_12201","Non-current assets","12201","asset_fixed","False","Activos fijos"
+"uy_code_12302","Real Estate","12302","asset_current","False","Inmuebles"
+"uy_code_12303","Original and revaluated values as per appendix","12303","asset_current","False","Valores orig. y revaluados s/anexo"
+"uy_code_12304","Less: Amort. Accum.","12304","asset_current","False","Menos: Amort. Acum."
+"uy_code_12305","Securities and Shares","12305","asset_current","False","Titulos y Acciones"
+"uy_code_12311","Allowance for Impairment","12311","expense","False","Prevision para Desvalorizaciones"
+"uy_code_12312","Interest received in advance","12312","income","False","Intereses percibidos por adelantado"
+"uy_code_12401","Furniture and Fixtures","12401","asset_fixed","False","Muebles y Útiles"
+"uy_code_12402","Real Estate","12402","asset_fixed","False","Inmuebles"
+"uy_code_12403","Machines and Tools","12403","asset_fixed","False","Maquinas y Herramientas"
+"uy_code_12404","Vehicles","12404","asset_fixed","False","Vehículos"
+"uy_code_12420","Furniture and Fixtures Amort.","12420","asset_current","False","Amort.Ac.Mueb.y Utiles"
+"uy_code_12421","Real Estate Amort.","12421","asset_current","False","Amort.Ac.Inmuebles"
+"uy_code_12422","Machinery and Equipment Amort.","12422","asset_current","False","Amort.Ac.Maq.y Herram."
+"uy_code_12423","Vehicle Amort. Shrinkage","12423","asset_current","False","Amort.Ac.Vehiculos"
+"uy_code_12501","Patents, trademarks and licenses","12501","asset_fixed","False","Patentes, marcas y licencias"
+"uy_code_12502","Research expenses","12502","asset_fixed","False","Gastos de investigacion"
+"uy_code_12520","Accumulated Depreciation","12520","asset_current","False","Amortizaciones Acumuladas"
+"uy_code_11407","Deferred Expense","11407","asset_current","False","Gastos diferidos"
"uy_code_21100","Sundry creditors (def)","21100","liability_payable","True","Acreedores Varios (def)"
"uy_code_21101","Suppliers by Imports","21101","liability_payable","True","Proveedores por Importaciones"
-"uy_code_21102","Debts. Import Exchange Contracts","21102","liability_current","True","Deuds. Contratos de Cambio Import."
+"uy_code_21102","Debts. Import Exchange Contracts","21102","liability_current","False","Deuds. Contratos de Cambio Import."
"uy_code_21103","Plaza Suppliers","21103","liability_payable","True","Proveedores de Plaza"
-"uy_code_21104","Notes Payable ds/Commercial","21104","liability_current","True","Documentos a Pagar ds/Comerciales"
-"uy_code_21120","Interest due ds/Commercial","21120","liability_current","True","Intereses a vencer ds/Comerciales"
-"uy_code_21201","Bank Loans","21201","liability_current","True","Prestamos Bancarios"
-"uy_code_21202","Obligations","21202","liability_current","True","Obligaciones"
-"uy_code_21203","Notes payable MN payable ds/Financials","21203","liability_current","True","Documentos a pagar MN a pagar ds/Financieras"
-"uy_code_21204","Notes payable EM payable ds/Financials","21204","liability_current","True","Documentos a pagar ME a pagar ds/Financieras"
-"uy_code_21220","Ints. due ds/Financials","21220","expense","True","Ints. a vencer ds/Financieras"
-"uy_code_21301","Advance Collections","21301","liability_current","True","Cobros Anticipados"
-"uy_code_21302","Dividends Payable","21302","liability_current","True","Dividendos a Pagar"
-"uy_code_21303","Parent Company, Controlling Companies","21303","liability_current","True","Casa Matriz, Empresas Controlantes"
-"uy_code_21304","Controlled/Linked","21304","liability_current","True","Controladas/Vinculadas"
-"uy_code_21305","Wages and salaries payable","21305","liability_current","True","Sueldos y Jornales a pagar"
-"uy_code_21306","Social Creditors","21306","liability_current","True","Acreedores por Cargas Sociales"
-"uy_code_21307","Tax creditors","21307","liability_current","True","Acreedores fiscales"
-"uy_code_21308","Credit balances Payable to Directors' Accounts","21308","liability_current","True","Saldos Acreedores Cuentas Directores"
-"uy_code_21320","Other debts","21320","liability_current","True","Otras deudas"
-"uy_code_21401","Minimum Sales Tax","21401","liability_current","True","Iva Ventas Mínima"
-"uy_code_21402","Basic Sales Tax","21402","liability_current","True","Iva Ventas Básica"
-"uy_code_21403","Tax to be Paid","21403","liability_current","True","Iva a Pagar"
-"uy_code_21404","Withholding Tax","21404","liability_current","True","Iva Retenido"
-"uy_code_21411","Withholding tax","21411","liability_current","True","Irpf Retenido"
-"uy_code_21421","Social Security Bank of Uruguay","21421","liability_current","True","Bps"
-"uy_code_21501","Tax on Income from Economic Activities - of the Exercise","21501","liability_current","True","Irae del Ejercicio"
-"uy_code_21502","Tax on Income from Economic Activities - to Pay","21502","liability_current","True","Irae a Pagar"
-"uy_code_21503","Tax on Income from Economic Activities - Advance Payable","21503","liability_current","True","Irae Anticipo a Pagar"
-"uy_code_21601","Net Assets for the Year","21601","liability_current","True","Patrimonio del Ejercicio"
-"uy_code_21602","Assets Payable","21602","liability_current","True","Patrimonio a Pagar"
-"uy_code_21603","Equity Advances Payable","21603","liability_current","True","Patrimonio Anticipo a Pagar"
-"uy_code_21701","Exercise Icosa","21701","liability_current","True","Icosa del Ejercicio"
-"uy_code_21702","Icosa to be Paid","21702","liability_current","True","Icosa a Pagar"
-"uy_code_21703","Icosa Advance Payable","21703","liability_current","True","Icosa Anticipo a Pagar"
-"uy_code_21801","Third-party liability","21801","liability_current","True","Responsabilidad frente a terceros"
-"uy_code_22101","Commercial Debts","22101","liability_current","True","Deudas Comerciales"
+"uy_code_21104","Notes Payable ds/Commercial","21104","liability_payable","True","Documentos a Pagar ds/Comerciales"
+"uy_code_21120","Interest due ds/Commercial","21120","liability_current","False","Intereses a vencer ds/Comerciales"
+"uy_code_21201","Bank Loans","21201","liability_current","False","Prestamos Bancarios"
+"uy_code_21202","Obligations","21202","liability_current","False","Obligaciones"
+"uy_code_21203","Notes payable MN payable ds/Financials","21203","liability_payable","True","Documentos a pagar MN a pagar ds/Financieras"
+"uy_code_21204","Notes payable EM payable ds/Financials","21204","liability_payable","True","Documentos a pagar ME a pagar ds/Financieras"
+"uy_code_21220","Ints. due ds/Financials","53011","expense","False","Ints. a vencer ds/Financieras"
+"uy_code_21301","Advance Collections","21301","liability_current","False","Cobros Anticipados"
+"uy_code_21302","Dividends Payable","21302","liability_payable","True","Dividendos a Pagar"
+"uy_code_21305","Wages and salaries payable","21305","liability_payable","True","Sueldos y Jornales a pagar"
+"uy_code_21306","Social Creditors","21306","liability_current","False","Acreedores por Cargas Sociales"
+"uy_code_21307","Tax creditors","21307","liability_current","False","Acreedores fiscales"
+"uy_code_21308","Credit balances Payable to Directors' Accounts","21308","liability_current","False","Saldos Acreedores Cuentas Directores"
+"uy_code_21320","Other debts","21320","liability_current","False","Otras deudas"
+"uy_code_21401","Minimum Sales Tax","21401","liability_current","False","Iva Ventas Mínima"
+"uy_code_21402","Basic Sales Tax","21402","liability_current","False","Iva Ventas Básica"
+"uy_code_21403","Tax to be Paid","21403","liability_payable","True","Iva a Pagar"
+"uy_code_21404","Withholding Tax","21404","liability_current","False","Iva Retenido"
+"uy_code_21411","Withholding tax","21411","liability_current","False","Irpf Retenido"
+"uy_code_21421","Social Security Bank of Uruguay","21421","liability_current","False","Bps"
+"uy_code_21501","Tax on Income from Economic Activities - of the Exercise","21501","liability_current","False","Irae del Ejercicio"
+"uy_code_21502","Tax on Income from Economic Activities - to Pay","21502","liability_payable","True","Irae a Pagar"
+"uy_code_21503","Tax on Income from Economic Activities - Advance Payable","21503","liability_payable","True","Irae Anticipo a Pagar"
+"uy_code_21601","Net Assets for the Year","21601","liability_current","False","Patrimonio del Ejercicio"
+"uy_code_21602","Assets Payable","21602","liability_payable","True","Patrimonio a Pagar"
+"uy_code_21603","Equity Advances Payable","21603","liability_payable","True","Patrimonio Anticipo a Pagar"
+"uy_code_21701","Exercise Icosa","21701","liability_current","False","Icosa del Ejercicio"
+"uy_code_21702","Icosa to be Paid","21702","liability_payable","True","Icosa a Pagar"
+"uy_code_21703","Icosa Advance Payable","21703","liability_payable","True","Icosa Anticipo a Pagar"
+"uy_code_21801","Third-party liability","21801","liability_current","False","Responsabilidad frente a terceros"
+"uy_code_22101","Commercial Debts","22101","liability_current","False","Deudas Comerciales"
"uy_code_22201","Financial Debts","22201","liability_payable","True","Deudas Financieras"
-"uy_code_22301","Sundry Debts","22301","liability_current","True","Deudas Diversas"
-"uy_code_22401","Non-Current Provisions","22401","liability_current","True","Previsiones No Corrientes"
-"uy_code_3111","Integrated Capital","3111","equity","True","Capital Integrado"
-"uy_code_3221","Tax revaluations","3221","equity","True","Revaluaciones fiscales"
-"uy_code_3222","Voluntary revaluations","3222","equity","True","Revaluaciones voluntarias"
-"uy_code_3311","Legal Reserves","3311","equity","True","Reservas Legales"
-"uy_code_3312","Voluntary Reserves","3312","equity","True","Reservas Voluntarias"
+"uy_code_22301","Sundry Debts","22301","liability_current","False","Deudas Diversas"
+"uy_code_22401","Non-Current Provisions","22401","liability_current","False","Previsiones No Corrientes"
+"uy_code_3111","Integrated Capital","3111","equity","False","Capital Integrado"
+"uy_code_3221","Tax revaluations","3221","equity","False","Revaluaciones fiscales"
+"uy_code_3222","Voluntary revaluations","3222","equity","False","Revaluaciones voluntarias"
+"uy_code_3311","Legal Reserves","3311","equity","False","Reservas Legales"
+"uy_code_3312","Voluntary Reserves","3312","equity","False","Reservas Voluntarias"
"uy_code_3313","Profit and loss","3313","equity","False","Pérdidas y Ganancias"
-"uy_code_33201","Results for the year","33201","equity","True","Resultados del ejercicio"
-"uy_code_33220","Interim dividends","33220","equity","True","Dividendos provisorios"
-"uy_code_4100","Operating Income (def)","4100","income","True","Ingresos Operativos (def)"
-"uy_code_4101","Exempt Sales","4101","income","True","Ventas Exentas"
-"uy_code_4102","Sales Basic Rate","4102","income","True","Ventas Tasa Básica"
-"uy_code_4103","Sales Minimum rate","4103","income","True","Ventas Tasa Mínima"
-"uy_code_4104","Export Sales","4104","income","True","Ventas por Exportaciones"
-"uy_code_4201","Extraordinary sales","4201","income","True","Ventas extraordinarias"
-"uy_code_4301","Interest earned","4301","income","True","Intereses ganados"
-"uy_code_4302","Exchange Differences Earned","4302","income","True","Diferencias de Cambio ganadas"
-"uy_code_4303","Discounts Obtained","4303","income","True","Descuentos Obtenidos"
-"uy_code_5100","Miscellaneous (def)","5100","expense","True","Gastos Varios (def)"
-"uy_code_5101","Salaries and Wages","5101","expense","True","Sueldos y Jornales"
-"uy_code_5102","Social Charges","5102","expense","True","Cargas Sociales"
-"uy_code_5103","Insurance","5103","expense","True","Seguros"
-"uy_code_5104","Stationery","5104","expense","True","Papelería"
-"uy_code_5105","Fuel","5105","expense","True","Combustible"
-"uy_code_5106","Freight","5106","expense","True","Fletes"
-"uy_code_5107","Vehicle Maintenance","5107","expense","True","Mantenimiento Vehículos"
-"uy_code_5108","Professional Fees","5108","expense","True","Honorarios Profesionales"
-"uy_code_5109","Contracted Services","5109","expense","True","Servicios Contratados"
-"uy_code_5110","Electric Power and Running Water","5110","expense","True","Energía Eléctrica y Aguas Corrientes"
-"uy_code_5111","Communications and Telephone Services","5111","expense","True","Comunicaciones y Servicios Telefónicos"
-"uy_code_5112","Rentals","5112","expense","True","Alquileres"
-"uy_code_5114","Advertising","5114","expense","True","Publicidad"
-"uy_code_5115","Representation","5115","expense","True","Representación"
-"uy_code_5201","Sales VAT 10%","5201","liability_current","False","IVA ventas 10%"
-"uy_code_5202","Sales VAT 22%","5202","liability_current","False","IVA ventas 22%"
-"uy_code_5203","Contributions","5203","asset_current","False","Contribuciones"
-"uy_code_5204","Withholdings","5204","asset_current","False","Retenciones"
-"uy_code_5205","Others","5205","asset_current","False","Otros"
-"uy_code_5301","Interest and Bank Charges","5301","expense","True","Intereses y Gastos Bancarios"
-"uy_code_5302","Exchange Differences lost","5302","expense","True","Diferencias de Cambio perdidas"
-"uy_code_5303","Discounts Granted","5303","expense","True","Descuentos Concedidos"
-"uy_code_5304","Tax Penalties and Surcharges","5304","expense","True","Multas y Recargos Fiscales"
-"uy_code_5400","Cost of goods sold","5400","expense","True","Costos de lo vendido"
-"uy_code_5401","Cost of Goods","5401","expense","True","Costo de Mercaderías"
-"uy_code_5402","Cost of sales of property, plant and equipment","5402","expense","True","Costo de Venta de Bienes de Uso"
-"uy_code_5500","Amortizations","5500","expense","True","Amortizaciones"
+"uy_code_33201","Results for the year","33201","equity","False","Resultados del ejercicio"
+"uy_code_33220","Interim dividends","33220","equity","False","Dividendos provisorios"
+"uy_code_4101","Exempt Sales","4100","income","False","Ventas Exentas"
+"uy_code_4102","Sales Basic Rate","4101","income","False","Ventas Tasa Básica"
+"uy_code_4103","Sales Minimum rate","4102","income","False","Ventas Tasa Mínima"
+"uy_code_4104","Export Sales","4103","income","False","Ventas por Exportaciones"
+"uy_code_4201","Extraordinary sales","4201","income","False","Ventas extraordinarias"
+"uy_code_4301","Interest earned","4301","income","False","Intereses ganados"
+"uy_code_4302","Exchange Differences Earned","4302","income","False","Diferencias de Cambio ganadas"
+"uy_code_4303","Discounts Obtained","4303","income","False","Descuentos Obtenidos"
+"uy_code_5100","Miscellaneous (def)","5100","expense","False","Gastos Varios (def)"
+"uy_code_5101","Salaries and Wages","5101","expense","False","Sueldos y Jornales"
+"uy_code_5102","Social Charges","5102","expense","False","Cargas Sociales"
+"uy_code_5103","Insurance","5103","expense","False","Seguros"
+"uy_code_5104","Stationery","5104","expense","False","Papelería"
+"uy_code_5105","Fuel","5105","expense","False","Combustible"
+"uy_code_5106","Freight","5106","expense","False","Fletes"
+"uy_code_5107","Vehicle Maintenance","5107","expense","False","Mantenimiento Vehículos"
+"uy_code_5108","Professional Fees","5108","expense","False","Honorarios Profesionales"
+"uy_code_5109","Contracted Services","5109","expense","False","Servicios Contratados"
+"uy_code_5110","Electric Power and Running Water","5110","expense","False","Energía Eléctrica y Aguas Corrientes"
+"uy_code_5111","Communications and Telephone Services","5111","expense","False","Comunicaciones y Servicios Telefónicos"
+"uy_code_5112","Rentals","5112","expense","False","Alquileres"
+"uy_code_5114","Advertising","5114","expense","False","Publicidad"
+"uy_code_5115","Representation","5115","expense","False","Representación"
+"uy_code_5203","Contributions","5203","expense","False","Contribuciones"
+"uy_code_5204","Withholdings","5204","expense","False","Retenciones"
+"uy_code_5205","Others","5205","expense","False","Otros"
+"uy_code_5301","Interest and Bank Charges","5301","expense","False","Intereses y Gastos Bancarios"
+"uy_code_5302","Exchange Differences lost","5302","expense","False","Diferencias de Cambio perdidas"
+"uy_code_5303","Discounts Granted","5303","expense","False","Descuentos Concedidos"
+"uy_code_5304","Tax Penalties and Surcharges","5304","expense","False","Multas y Recargos Fiscales"
+"uy_code_5401","Cost of Goods","5401","expense","False","Costo de Mercaderías"
+"uy_code_5402","Cost of sales of property, plant and equipment","5402","expense","False","Costo de Venta de Bienes de Uso"
+"uy_code_5500","Amortizations","5500","expense","False","Amortizaciones"
"uy_code_61","Shares to be issued","61","equity","False","Acciones a Emitir"
"uy_code_62","Stock subscribers","62","equity","False","Suscriptores de acciones"
"uy_code_71","Authorized Capital to be Subscribed","71","equity","False","Capital Autorizado a Suscribir"
diff --git a/addons/l10n_uy/data/template/account.fiscal.position-uy.csv b/addons/l10n_uy/data/template/account.fiscal.position-uy.csv
new file mode 100644
index 00000000000..1ec8652a0b3
--- /dev/null
+++ b/addons/l10n_uy/data/template/account.fiscal.position-uy.csv
@@ -0,0 +1,6 @@
+"id","name","auto_apply","sequence","country_id","tax_ids/tax_src_id","tax_ids/tax_dest_id"
+"account_fiscal_position_exportation","Exportación","1","10",,"vat1","vat3"
+"","","","","","vat2","vat3"
+"","","","","","vat4","vat6"
+"","","","","","vat5","vat6"
+"account_fiscal_position_local_uruguay","Local – Uruguay","1","15","base.uy","",""
diff --git a/addons/l10n_uy/data/template/account.tax-uy.csv b/addons/l10n_uy/data/template/account.tax-uy.csv
index 8471de87b98..b0240a1605a 100644
--- a/addons/l10n_uy/data/template/account.tax-uy.csv
+++ b/addons/l10n_uy/data/template/account.tax-uy.csv
@@ -1,25 +1,25 @@
-"id","name","description","invoice_label","amount","amount_type","type_tax_use","tax_group_id","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","description@es","invoice_label@es"
-"vat1","22%","VAT Sales (22%)","VAT Sales (22%)","22.0","percent","sale","tax_group_iva_22","base","invoice","+Base Sales 22%","","IVA Ventas (22%)","IVA Ventas (22%)"
-"","","","","","","","","tax","invoice","+Sales VAT 22%","uy_code_5202","",""
-"","","","","","","","","base","refund","-Taxable Sales Base","","",""
-"","","","","","","","","tax","refund","-VAT Sales - received","uy_code_5202","",""
-"vat2","10%","VAT Sales (10%)","VAT Sales (10%)","10.0","percent","sale","tax_group_iva_10","base","invoice","+Base Sales 10%","","IVA Ventas (10%)","IVA Ventas (10%)"
-"","","","","","","","","tax","invoice","+Sales VAT 10%","uy_code_5201","",""
-"","","","","","","","","base","refund","-Taxable Sales Base","","",""
-"","","","","","","","","tax","refund","-VAT Sales - received","uy_code_5201","",""
-"vat3","0% EXEMPT","VAT Exempt Sales","VAT Exempt Sales","0.0","fixed","sale","tax_group_exenton","base","invoice","+Base Sales 0%","","Ventas Exentos IVA","Ventas Exentos IVA"
-"","","","","","","","","tax","invoice","","","",""
-"","","","","","","","","base","refund","-Taxable Sales Base","","",""
-"","","","","","","","","tax","refund","","","",""
-"vat4","22%","VAT Purchases (22%)","VAT Purchases (22%)","22.0","percent","purchase","tax_group_iva_22","base","invoice","+Base Purchases 22%","","IVA Compras (22%)","IVA Compras (22%)"
-"","","","","","","","","tax","invoice","+VAT Purchases 22%","uy_code_11502","",""
-"","","","","","","","","base","refund","-Tax Base Purchases","","",""
-"","","","","","","","","tax","refund","-VAT Purchases - paid","uy_code_11502","",""
-"vat5","10%","VAT Purchases (10%)","VAT Purchases (10%)","10.0","percent","purchase","tax_group_iva_10","base","invoice","+Base Purchases 10%","","IVA Compras (10%)","IVA Compras (10%)"
-"","","","","","","","","tax","invoice","+VAT Purchases 10%","uy_code_11501","",""
-"","","","","","","","","base","refund","-Tax Base Purchases","","",""
-"","","","","","","","","tax","refund","-VAT Purchases - paid","uy_code_11501","",""
-"vat6","0% EXEMPT","Purchases Exempt from VAT","Purchases Exempt from VAT","0.0","fixed","purchase","tax_group_exenton","base","invoice","+Base Purchases 0%","","Compras Exento IVA","Compras Exentos IVA"
-"","","","","","","","","tax","invoice","","","",""
-"","","","","","","","","base","refund","-Tax Base Purchases","","",""
-"","","","","","","","","tax","refund","","","",""
+"id","name","description","invoice_label","l10n_uy_tax_category","amount","amount_type","type_tax_use","tax_group_id","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","description@es","invoice_label@es"
+"vat1","22%","VAT Sales (22%)","VAT Sales (22%)","vat","22.0","percent","sale","tax_group_iva_22","base","invoice","+Base Sales 22%","","IVA Ventas (22%)","IVA Ventas (22%)"
+"","","","","","","","","","tax","invoice","+Sales VAT 22%","uy_code_21402","",""
+"","","","","","","","","","base","refund","-Taxable Sales Base","","",""
+"","","","","","","","","","tax","refund","-VAT Sales - received","uy_code_21402","",""
+"vat2","10%","VAT Sales (10%)","VAT Sales (10%)","vat","10.0","percent","sale","tax_group_iva_10","base","invoice","+Base Sales 10%","","IVA Ventas (10%)","IVA Ventas (10%)"
+"","","","","","","","","","tax","invoice","+Sales VAT 10%","uy_code_21401","",""
+"","","","","","","","","","base","refund","-Taxable Sales Base","","",""
+"","","","","","","","","","tax","refund","-VAT Sales - received","uy_code_21401","",""
+"vat3","0% EXEMPT","VAT Exempt Sales","VAT Exempt Sales","vat","0.0","fixed","sale","tax_group_exenton","base","invoice","+Base Sales 0%","","Ventas Exentos IVA","Ventas Exentos IVA"
+"","","","","","","","","","tax","invoice","","uy_code_21403","",""
+"","","","","","","","","","base","refund","-Taxable Sales Base","","",""
+"","","","","","","","","","tax","refund","","uy_code_21403","",""
+"vat4","22%","VAT Purchases (22%)","VAT Purchases (22%)","vat","22.0","percent","purchase","tax_group_iva_22","base","invoice","+Base Purchases 22%","","IVA Compras (22%)","IVA Compras (22%)"
+"","","","","","","","","","tax","invoice","+VAT Purchases 22%","uy_code_11502","",""
+"","","","","","","","","","base","refund","-Tax Base Purchases","","",""
+"","","","","","","","","","tax","refund","-VAT Purchases - paid","uy_code_11502","",""
+"vat5","10%","VAT Purchases (10%)","VAT Purchases (10%)","vat","10.0","percent","purchase","tax_group_iva_10","base","invoice","+Base Purchases 10%","","IVA Compras (10%)","IVA Compras (10%)"
+"","","","","","","","","","tax","invoice","+VAT Purchases 10%","uy_code_11501","",""
+"","","","","","","","","","base","refund","-Tax Base Purchases","","",""
+"","","","","","","","","","tax","refund","-VAT Purchases - paid","uy_code_11501","",""
+"vat6","0% EXEMPT","Purchases Exempt from VAT","Purchases Exempt from VAT","vat","0.0","fixed","purchase","tax_group_exenton","base","invoice","+Base Purchases 0%","","Compras Exento IVA","Compras Exentos IVA"
+"","","","","","","","","","tax","invoice","","uy_code_21403","",""
+"","","","","","","","","","base","refund","-Tax Base Purchases","","",""
+"","","","","","","","","","tax","refund","","uy_code_21403","",""
diff --git a/addons/l10n_uy/demo/__init__.py b/addons/l10n_uy/demo/__init__.py
new file mode 100644
index 00000000000..34471da8b67
--- /dev/null
+++ b/addons/l10n_uy/demo/__init__.py
@@ -0,0 +1,3 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from . import account_demo
diff --git a/addons/l10n_uy/demo/account_demo.py b/addons/l10n_uy/demo/account_demo.py
new file mode 100644
index 00000000000..e2243380944
--- /dev/null
+++ b/addons/l10n_uy/demo/account_demo.py
@@ -0,0 +1,20 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from odoo import api, models
+
+
+class AccountChartTemplate(models.AbstractModel):
+
+ _inherit = "account.chart.template"
+
+ @api.model
+ def _get_demo_data_move(self, company=False):
+ """ Set the l10n_latam_document_number on demo invoices """
+ move_data = super()._get_demo_data_move(company)
+ if company.account_fiscal_country_id.code == 'UY':
+ number = 1
+ for move in move_data.values():
+ if move['move_type'] in ('in_invoice', 'in_refund'):
+ move['l10n_latam_document_number'] = 'A' + f'{number:07d}'
+ number += 1
+
+ return move_data
diff --git a/addons/l10n_uy/demo/demo_company.xml b/addons/l10n_uy/demo/demo_company.xml
index 7365f1e075d..88987c349d3 100644
--- a/addons/l10n_uy/demo/demo_company.xml
+++ b/addons/l10n_uy/demo/demo_company.xml
@@ -2,6 +2,7 @@
UY Company
+
UY130551600010
Montevideo
diff --git a/addons/l10n_uy/demo/res_partner_demo.xml b/addons/l10n_uy/demo/res_partner_demo.xml
new file mode 100644
index 00000000000..1662de5d27f
--- /dev/null
+++ b/addons/l10n_uy/demo/res_partner_demo.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ IEB Internacional
+
+ 218435730016
+
+
+
+
diff --git a/addons/l10n_uy/i18n/es.po b/addons/l10n_uy/i18n/es.po
index 7f1161c1e7a..ad24aa8430b 100644
--- a/addons/l10n_uy/i18n/es.po
+++ b/addons/l10n_uy/i18n/es.po
@@ -4,74 +4,419 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 16.1alpha1+e\n"
+"Project-Id-Version: Odoo Server 16.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-10 08:47+0000\n"
-"PO-Revision-Date: 2023-01-10 09:30+0000\n"
+"POT-Creation-Date: 2023-10-09 17:47+0000\n"
+"PO-Revision-Date: 2023-10-09 17:47+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
-"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_account_chart_template
+msgid "Account Chart Template"
+msgstr "Plantilla de Plan de Cuentas"
+
#. module: l10n_uy
#: model:account.report.column,name:l10n_uy.tax_report_balance
msgid "Balance"
-msgstr "Saldo"
+msgstr ""
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_cmprs_0
msgid "Base Purchases 0%"
-msgstr "Base Compras 0%"
+msgstr "Base 0% Compras"
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_cmprs_10
msgid "Base Purchases 10%"
-msgstr "Base Compras 10%"
+msgstr "Base 10% Compras"
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_cmprs_22
msgid "Base Purchases 22%"
-msgstr "Base Compras 22%"
+msgstr "Base 22% Compras"
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb
-msgid "Taxable income"
-msgstr "Base Imponible"
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_0
+msgid "Base Sales 0%"
+msgstr "Base 0% Ventas"
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_10
+msgid "Base Sales 10%"
+msgstr "Base 10% Ventas"
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_22
+msgid "Base Sales 22%"
+msgstr "Base 22% Ventas"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_boleta_venta_contado
+msgid "Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_ci
+msgid "CI"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_recibo_cobranza
+msgid "Collection Receipt"
+msgstr "Recibo Cobranza"
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_res_company
+msgid "Companies"
+msgstr "Compañías"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito_de_exportación_contingencia
+msgid "Contingency Export e-Delivery Guide"
+msgstr "e-Remito de Exportación Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_exportación_contingencia
+msgid "Contingency Export e-Invoice"
+msgstr "e-Factura Exportación Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_factura_exportación_contingencia
+msgid "Contingency Export e-Invoice Credit Note"
+msgstr "Nota de Crédito de e-Factura Exportación Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_factura_exportación_contingencia
+msgid "Contingency Export e-Invoice Debit Note"
+msgstr "Nota de Débito de e-Factura Exportación Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_boleta_contingencia
+msgid "Contingency e-Boleta"
+msgstr "e-Boleta Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_boleta_contingencia
+msgid "Contingency e-Boleta Credit Note"
+msgstr "Nota de Crédito e-Boleta Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_boleta_contingencia
+msgid "Contingency e-Boleta Debit Note"
+msgstr "Nota de Dédito e-Boleta Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito_contingencia
+msgid "Contingency e-Delivery Guide"
+msgstr "e-Remito Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_contingencia
+msgid "Contingency e-Invoice"
+msgstr "e-Factura Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_factura_contingencia
+msgid "Contingency e-Invoice Credit Note"
+msgstr "Nota de Crédito de e-Factura Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_factura_contingencia
+msgid "Contingency e-Invoice Debit Note"
+msgstr "Nota de Débito de e-Factura Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Invoice Sale By Third Party"
+msgstr "e-Factura Venta por Cuenta Ajena Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_factura_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Invoice Sale By Third Party Credit Note"
+msgstr "Nota de Crédito de e-Factura Venta por Cuenta Ajena Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_factura_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Invoice Sale By Third Party Debit Note"
+msgstr "Nota de Débito de e-Factura Venta por Cuenta Ajena Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_resguardo_contingencia
+msgid "Contingency e-Resguardo"
+msgstr "e-Resguardo Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket_cont
+msgid "Contingency e-Ticket"
+msgstr "e-Ticket Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_ticket_cont
+msgid "Contingency e-Ticket Credit Note"
+msgstr "Nota de Credito de e-Ticket Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_ticket_cont
+msgid "Contingency e-Ticket Debit Note"
+msgstr "Nota de Debito de e-Ticket Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Ticket Sale By Third Party"
+msgstr "e-Ticket Venta por Cuenta Ajena Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_ticket_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Ticket Sale By Third Party Credit Note"
+msgstr "Nota de Crédito de e-Ticket Venta por Cuenta Ajena Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_ticket_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Ticket Sale By Third Party Debit Note"
+msgstr "Nota de Débito de e-Ticket Venta por Cuenta Ajena Contingencia"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_inv
+msgid "Credit Note"
+msgstr "Nota de Crédito"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_boleta
+msgid "Credit Note e-Boleta"
+msgstr "Nota de Crédito e-Boleta"
+
+#. module: l10n_uy
+#. odoo-python
+#: code:addons/l10n_uy/models/template_uy.py:0
+#, python-format
+msgid "Customer Invoices"
+msgstr "Facturas de Clientes"
+
+#. module: l10n_uy
+#: model:ir.model.fields,field_description:l10n_uy.field_l10n_latam_identification_type__l10n_uy_dgi_code
+msgid "DGI Code"
+msgstr "Código DGI"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_dni
+msgid "DNI"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_inv
+msgid "Debit Note"
+msgstr "Nota de Débito"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_boleta
+msgid "Debit Note e-Boleta"
+msgstr "Nota de Dédito e-Boleta"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_remito
+msgid "Delivery Guide"
+msgstr "Remito"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nc_expo
+msgid "Export Credit Note"
+msgstr "Nota de Crédito Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nd_expo
+msgid "Export Debit Note"
+msgstr "Nota de Débito Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_inv_expo
+msgid "Export Invoice"
+msgstr "Factura Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito_expo
+msgid "Export e-Delivery Guide"
+msgstr "e-Remito Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_inv_exp
+msgid "Export e-Invoice"
+msgstr "e-Factura Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_inv_exp
+msgid "Export e-Invoice Credit Note"
+msgstr "Nota de Crédito de e-Factura Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_inv_exp
+msgid "Export e-Invoice Debit Note"
+msgstr "Nota de Débito de e-Factura Exportación"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_nife
+msgid "Foreign tax identification number"
+msgstr "Número de identificación fiscal extranjero"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_nie
+msgid "Foreigner Identity Number"
+msgstr "Número de Identidad de Extranjero"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_ci
+msgid "Identification Card"
+msgstr "Cédula de Identidad"
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_l10n_latam_identification_type
+msgid "Identification Types"
+msgstr "Tipos de Identificación"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_inv
+msgid "Invoice"
+msgstr "Factura"
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_account_move
+msgid "Journal Entry"
+msgstr "Asiento contable"
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_l10n_latam_document_type
+msgid "Latam Document Type"
+msgstr "Tipo de Documento Latam"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_nie
+msgid "NIE"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_nife
+msgid "NIFE"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_dni
+msgid "National identity document of Argentina, Brazil, Chile or Paraguay"
+msgstr ""
+"Documento Nacional de identidad de Argentina, Brasil, Chile o Paraguay"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_other
+msgid "OTR"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_other
+msgid "Others"
+msgstr "Otros"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_pass
+msgid "PAS"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_pass
+msgid "Passport (all countries)"
+msgstr "Pasaporte (todos los paises)"
+
+#. module: l10n_uy
+#. odoo-python
+#: code:addons/l10n_uy/models/l10n_latam_document_type.py:0
+#, python-format
+msgid ""
+"Please introduce a valid Document number: 2 letters and 7 digits (XX0000001)"
+msgstr ""
+"Por favor ingrese un Número de documento válido: 2 letras y 7 dígitos "
+"(XX0000001)"
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_cmprs_exnto_iva
+msgid "Purchases Exempt from VAT"
+msgstr "Compras IVA Exentas"
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_rut
+msgid "RUT / RUC"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_10
+msgid "Sales VAT 10%"
+msgstr "IVA Ventas 10%"
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_22
+msgid "Sales VAT 22%"
+msgstr "IVA Ventas 22%"
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_vnts_iva
+msgid "Sales VAT exempt"
+msgstr "Ventas exentas de IVA"
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_account_tax
+msgid "Tax"
+msgstr "Impuesto"
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_cmprs
#: model:account.report.line,name:l10n_uy.account_tax_report_impb_cmprs
msgid "Tax Base Purchases"
-msgstr "Base Imponible Compras"
+msgstr "Compras de base imponible"
+
+#. module: l10n_uy
+#: model:ir.model.fields,field_description:l10n_uy.field_account_tax__l10n_uy_tax_category
+msgid "Tax Category"
+msgstr "Categoría de Impuesto"
+
+#. module: l10n_uy
+#: model:account.report,name:l10n_uy.tax_report
+msgid "Tax Report"
+msgstr "Reporte de Impuestos"
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts
#: model:account.report.line,name:l10n_uy.account_tax_report_impb_vnts
msgid "Taxable Sales Base"
-msgstr "Base Imponible Ventas"
+msgstr "Base imponible de ventas"
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_0
-msgid "Base Sales 0%"
-msgstr "Base Ventas 0%"
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb
+msgid "Taxable income"
+msgstr "Ingreso Imponible"
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_10
-msgid "Base Sales 10%"
-msgstr "Base Ventas 10%"
+#: model:ir.model.fields,help:l10n_uy.field_account_tax__l10n_uy_tax_category
+msgid ""
+"UY: Use to group the transactions in the Financial Reports required by DGI"
+msgstr "UY: Utilizado para agrupar transacciones en Reportes Financieros requeridos por DGI"
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_22
-msgid "Base Sales 22%"
-msgstr "Base Ventas 22%"
+#: model:l10n_latam.identification.type,description:l10n_uy.it_rut
+msgid "Unique Tax Registry / Unique Taxpayer Registry"
+msgstr "Registro Único Tributario / Registro Único de Contribuyente"
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_cmprs_exnto_iva
-msgid "Purchases Exempt from VAT"
-msgstr "Compras Exento IVA"
+#. odoo-python
+#: code:addons/l10n_uy/models/template_uy.py:0
+#, python-format
+msgid "Uruguayan Generic Chart of Accounts"
+msgstr "Plan Contable Genérico Uruguayo"
+
+#. module: l10n_uy
+#: model:ir.model.fields.selection,name:l10n_uy.selection__account_tax__l10n_uy_tax_category__vat
+msgid "VAT"
+msgstr "IVA"
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_cmprs_pagdo
@@ -93,29 +438,91 @@ msgstr "IVA Compras 22%"
#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_prcbdo
#: model:account.report.line,name:l10n_uy.account_tax_report_vnts_prcbdo
msgid "VAT Sales - received"
-msgstr "IVA Ventas - percibido"
-
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_10
-msgid "Sales VAT 10%"
-msgstr "IVA ventas 10%"
-
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_22
-msgid "Sales VAT 22%"
-msgstr "IVA ventas 22%"
+msgstr "IVA Venas - recibido"
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_sldo_iva
msgid "VAT balance"
-msgstr "Saldo de IVA"
+msgstr "Balance IVA"
#. module: l10n_uy
-#: model:account.report,name:l10n_uy.tax_report
-msgid "Tax Report"
-msgstr "Informe fiscal"
+#. odoo-python
+#: code:addons/l10n_uy/models/template_uy.py:0
+#, python-format
+msgid "Vendor Bills"
+msgstr "Facturas de Proveedor"
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_vnts_iva
-msgid "Sales VAT exempt"
-msgstr "Ventas Exento IVA"
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_boleta
+msgid "e-Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito
+msgid "e-Delivery Guide"
+msgstr "e-Remito"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_inv
+msgid "e-Invoice"
+msgstr "e-Factura"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_inv
+msgid "e-Invoice Credit Note"
+msgstr "Nota de Crédito de e-Factura"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_inv
+msgid "e-Invoice Debit Note"
+msgstr "Nota de Débito de e-Factura"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_venta_por_cuenta_ajena
+msgid "e-Invoice Sale By Third Party"
+msgstr "e-Factura Venta por Cuenta Ajena"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_factura_venta_por_cuenta_ajena
+msgid "e-Invoice Sale By Third Party Credit Note"
+msgstr "Nota de Crédito e-Factura Venta por Cuenta Ajena"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_factura_venta_por_cuenta_ajena
+msgid "e-Invoice Sale By Third Party Debit Note"
+msgstr "Nota de Débito e-Factura Venta por Cuenta Ajena"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_resguardo
+msgid "e-Resguardo"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket
+msgid "e-Ticket"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_ticket
+msgid "e-Ticket Credit Note"
+msgstr "Nota de Crédito de e-Ticket"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_ticket
+msgid "e-Ticket Debit Note"
+msgstr "Nota de Débito de e-Ticket"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket_venta_por_cuenta_ajena
+msgid "e-Ticket Sale By Third Party"
+msgstr "e-Ticket Venta por Cuenta Ajena"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_ticket_venta_por_cuenta_ajena
+msgid "e-Ticket Sale By Third Party Credit Note"
+msgstr "Nota de Crédito e-Ticket Venta por Cuenta Ajena"
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_ticket_venta_por_cuenta_ajena
+msgid "e-Ticket Sale By Third Party Debit Note"
+msgstr "Nota de Débito e-Ticket Venta por Cuenta Ajena"
diff --git a/addons/l10n_uy/i18n/l10n_uy.pot b/addons/l10n_uy/i18n/l10n_uy.pot
index fcdb8102397..eec5205acdf 100644
--- a/addons/l10n_uy/i18n/l10n_uy.pot
+++ b/addons/l10n_uy/i18n/l10n_uy.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 16.1alpha1+e\n"
+"Project-Id-Version: Odoo Server 16.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-10 08:47+0000\n"
-"PO-Revision-Date: 2023-01-10 08:47+0000\n"
+"POT-Creation-Date: 2023-10-09 17:46+0000\n"
+"PO-Revision-Date: 2023-10-09 17:46+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -15,6 +15,11 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_account_chart_template
+msgid "Account Chart Template"
+msgstr ""
+
#. module: l10n_uy
#: model:account.report.column,name:l10n_uy.tax_report_balance
msgid "Balance"
@@ -35,23 +40,6 @@ msgstr ""
msgid "Base Purchases 22%"
msgstr ""
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb
-msgid "Taxable income"
-msgstr ""
-
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_cmprs
-#: model:account.report.line,name:l10n_uy.account_tax_report_impb_cmprs
-msgid "Tax Base Purchases"
-msgstr ""
-
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts
-#: model:account.report.line,name:l10n_uy.account_tax_report_impb_vnts
-msgid "Taxable Sales Base"
-msgstr ""
-
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts_0
msgid "Base Sales 0%"
@@ -67,11 +55,366 @@ msgstr ""
msgid "Base Sales 22%"
msgstr ""
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_boleta_venta_contado
+msgid "Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_ci
+msgid "CI"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_recibo_cobranza
+msgid "Collection Receipt"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_res_company
+msgid "Companies"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito_de_exportación_contingencia
+msgid "Contingency Export e-Delivery Guide"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_exportación_contingencia
+msgid "Contingency Export e-Invoice"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_factura_exportación_contingencia
+msgid "Contingency Export e-Invoice Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_factura_exportación_contingencia
+msgid "Contingency Export e-Invoice Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_boleta_contingencia
+msgid "Contingency e-Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_boleta_contingencia
+msgid "Contingency e-Boleta Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_boleta_contingencia
+msgid "Contingency e-Boleta Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito_contingencia
+msgid "Contingency e-Delivery Guide"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_contingencia
+msgid "Contingency e-Invoice"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_factura_contingencia
+msgid "Contingency e-Invoice Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_factura_contingencia
+msgid "Contingency e-Invoice Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Invoice Sale By Third Party"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_factura_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Invoice Sale By Third Party Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_factura_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Invoice Sale By Third Party Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_resguardo_contingencia
+msgid "Contingency e-Resguardo"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket_cont
+msgid "Contingency e-Ticket"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_ticket_cont
+msgid "Contingency e-Ticket Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_ticket_cont
+msgid "Contingency e-Ticket Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Ticket Sale By Third Party"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_crédito_de_e_ticket_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Ticket Sale By Third Party Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_débito_de_e_ticket_venta_por_cuenta_ajena_contingencia
+msgid "Contingency e-Ticket Sale By Third Party Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_inv
+msgid "Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_boleta
+msgid "Credit Note e-Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#. odoo-python
+#: code:addons/l10n_uy/models/template_uy.py:0
+#, python-format
+msgid "Customer Invoices"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model.fields,field_description:l10n_uy.field_l10n_latam_identification_type__l10n_uy_dgi_code
+msgid "DGI Code"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_dni
+msgid "DNI"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_inv
+msgid "Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_boleta
+msgid "Debit Note e-Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_remito
+msgid "Delivery Guide"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nc_expo
+msgid "Export Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nd_expo
+msgid "Export Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_inv_expo
+msgid "Export Invoice"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito_expo
+msgid "Export e-Delivery Guide"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_inv_exp
+msgid "Export e-Invoice"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_inv_exp
+msgid "Export e-Invoice Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_inv_exp
+msgid "Export e-Invoice Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_nife
+msgid "Foreign tax identification number"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_nie
+msgid "Foreigner Identity Number"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_ci
+msgid "Identification Card"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_l10n_latam_identification_type
+msgid "Identification Types"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_inv
+msgid "Invoice"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_account_move
+msgid "Journal Entry"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_l10n_latam_document_type
+msgid "Latam Document Type"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_nie
+msgid "NIE"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_nife
+msgid "NIFE"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_dni
+msgid "National identity document of Argentina, Brazil, Chile or Paraguay"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_other
+msgid "OTR"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_other
+msgid "Others"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_pass
+msgid "PAS"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_pass
+msgid "Passport (all countries)"
+msgstr ""
+
+#. module: l10n_uy
+#. odoo-python
+#: code:addons/l10n_uy/models/l10n_latam_document_type.py:0
+#, python-format
+msgid ""
+"Please introduce a valid Document number: 2 letters and 7 digits (XX0000001)"
+msgstr ""
+
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_cmprs_exnto_iva
msgid "Purchases Exempt from VAT"
msgstr ""
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,name:l10n_uy.it_rut
+msgid "RUT / RUC"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_10
+msgid "Sales VAT 10%"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_22
+msgid "Sales VAT 22%"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_vnts_iva
+msgid "Sales VAT exempt"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model,name:l10n_uy.model_account_tax
+msgid "Tax"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_cmprs
+#: model:account.report.line,name:l10n_uy.account_tax_report_impb_cmprs
+msgid "Tax Base Purchases"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model.fields,field_description:l10n_uy.field_account_tax__l10n_uy_tax_category
+msgid "Tax Category"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report,name:l10n_uy.tax_report
+msgid "Tax Report"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb_vnts
+#: model:account.report.line,name:l10n_uy.account_tax_report_impb_vnts
+msgid "Taxable Sales Base"
+msgstr ""
+
+#. module: l10n_uy
+#: model:account.report.line,name:l10n_uy.account_tax_report_base_impb
+msgid "Taxable income"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model.fields,help:l10n_uy.field_account_tax__l10n_uy_tax_category
+msgid ""
+"UY: Use to group the transactions in the Financial Reports required by DGI"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.identification.type,description:l10n_uy.it_rut
+msgid "Unique Tax Registry / Unique Taxpayer Registry"
+msgstr ""
+
+#. module: l10n_uy
+#. odoo-python
+#: code:addons/l10n_uy/models/template_uy.py:0
+#, python-format
+msgid "Uruguayan Generic Chart of Accounts"
+msgstr ""
+
+#. module: l10n_uy
+#: model:ir.model.fields.selection,name:l10n_uy.selection__account_tax__l10n_uy_tax_category__vat
+msgid "VAT"
+msgstr ""
+
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_cmprs_pagdo
#: model:account.report.line,name:l10n_uy.account_tax_report_iva_cmprs_pagdo
@@ -94,27 +437,89 @@ msgstr ""
msgid "VAT Sales - received"
msgstr ""
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_10
-msgid "Sales VAT 10%"
-msgstr ""
-
-#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_iva_vnts_22
-msgid "Sales VAT 22%"
-msgstr ""
-
#. module: l10n_uy
#: model:account.report.line,name:l10n_uy.account_tax_report_sldo_iva
msgid "VAT balance"
msgstr ""
#. module: l10n_uy
-#: model:account.report,name:l10n_uy.tax_report
-msgid "Tax Report"
+#. odoo-python
+#: code:addons/l10n_uy/models/template_uy.py:0
+#, python-format
+msgid "Vendor Bills"
msgstr ""
#. module: l10n_uy
-#: model:account.report.line,name:l10n_uy.account_tax_report_vnts_iva
-msgid "Sales VAT exempt"
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_boleta
+msgid "e-Boleta"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_remito
+msgid "e-Delivery Guide"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_inv
+msgid "e-Invoice"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_inv
+msgid "e-Invoice Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_inv
+msgid "e-Invoice Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_factura_venta_por_cuenta_ajena
+msgid "e-Invoice Sale By Third Party"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_factura_venta_por_cuenta_ajena
+msgid "e-Invoice Sale By Third Party Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_factura_venta_por_cuenta_ajena
+msgid "e-Invoice Sale By Third Party Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_resguardo
+msgid "e-Resguardo"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket
+msgid "e-Ticket"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_cn_e_ticket
+msgid "e-Ticket Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_dn_e_ticket
+msgid "e-Ticket Debit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_e_ticket_venta_por_cuenta_ajena
+msgid "e-Ticket Sale By Third Party"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_credito_e_ticket_venta_por_cuenta_ajena
+msgid "e-Ticket Sale By Third Party Credit Note"
+msgstr ""
+
+#. module: l10n_uy
+#: model:l10n_latam.document.type,name:l10n_uy.dc_nota_de_debito_e_ticket_venta_por_cuenta_ajena
+msgid "e-Ticket Sale By Third Party Debit Note"
msgstr ""
diff --git a/addons/l10n_uy/models/__init__.py b/addons/l10n_uy/models/__init__.py
index 6c74490e140..09efe4a3802 100644
--- a/addons/l10n_uy/models/__init__.py
+++ b/addons/l10n_uy/models/__init__.py
@@ -1,2 +1,7 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from . import account_move
+from . import account_tax
+from . import l10n_latam_identification_type
+from . import res_company
from . import template_uy
+from . import l10n_latam_document_type
diff --git a/addons/l10n_uy/models/account_move.py b/addons/l10n_uy/models/account_move.py
new file mode 100644
index 00000000000..a56abdf51ce
--- /dev/null
+++ b/addons/l10n_uy/models/account_move.py
@@ -0,0 +1,24 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from odoo import models
+
+
+class AccountMove(models.Model):
+
+ _inherit = 'account.move'
+
+ def _get_starting_sequence(self):
+ """ If use documents then will create a new starting sequence using the document type code prefix and the
+ journal document number with a 8 padding number """
+ if self.journal_id.l10n_latam_use_documents and self.company_id.account_fiscal_country_id.code == "UY" and self.l10n_latam_document_type_id:
+ return self._l10n_uy_get_formatted_sequence()
+ return super()._get_starting_sequence()
+
+ def _l10n_uy_get_formatted_sequence(self, number=0):
+ return "%s A%07d" % (self.l10n_latam_document_type_id.doc_code_prefix, number)
+
+ def _get_last_sequence_domain(self, relaxed=False):
+ where_string, param = super(AccountMove, self)._get_last_sequence_domain(relaxed)
+ if self.company_id.account_fiscal_country_id.code == "UY" and self.l10n_latam_use_documents:
+ where_string += " AND l10n_latam_document_type_id = %(l10n_latam_document_type_id)s"
+ param['l10n_latam_document_type_id'] = self.l10n_latam_document_type_id.id or 0
+ return where_string, param
diff --git a/addons/l10n_uy/models/account_tax.py b/addons/l10n_uy/models/account_tax.py
new file mode 100644
index 00000000000..8dbf33fe208
--- /dev/null
+++ b/addons/l10n_uy/models/account_tax.py
@@ -0,0 +1,11 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from odoo import fields, models
+
+
+class AccountTax(models.Model):
+
+ _inherit = "account.tax"
+
+ l10n_uy_tax_category = fields.Selection([
+ ('vat', 'VAT'),
+ ], string="Tax Category", help="UY: Use to group the transactions in the Financial Reports required by DGI")
diff --git a/addons/l10n_uy/models/l10n_latam_document_type.py b/addons/l10n_uy/models/l10n_latam_document_type.py
new file mode 100644
index 00000000000..c6fc6c4bfb4
--- /dev/null
+++ b/addons/l10n_uy/models/l10n_latam_document_type.py
@@ -0,0 +1,28 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from odoo import _, models
+from odoo.exceptions import UserError
+import re
+
+
+class L10nAccountDocumentType(models.Model):
+
+ _inherit = 'l10n_latam.document.type'
+
+ def _format_document_number(self, document_number):
+ """ format and validate the document_number"""
+ self.ensure_one()
+ if self.country_id.code != "UY":
+ return super()._format_document_number(document_number)
+
+ if not document_number:
+ return
+
+ document_number = document_number.strip()
+ number_part = re.findall(r'[\d]+', document_number)
+ serie_part = re.findall(r'^[A-Za-z]+', document_number)
+
+ if not serie_part or len(serie_part) > 1 or len(serie_part[0]) > 2 \
+ or not number_part or len(number_part) > 1 or len(number_part[0]) > 7:
+ raise UserError(_('Please introduce a valid Document number: 2 letters and 7 digits (XX0000001)'))
+
+ return serie_part[0].upper() + number_part[0].zfill(7)
diff --git a/addons/l10n_uy/models/l10n_latam_identification_type.py b/addons/l10n_uy/models/l10n_latam_identification_type.py
new file mode 100644
index 00000000000..0b7eb920bf0
--- /dev/null
+++ b/addons/l10n_uy/models/l10n_latam_identification_type.py
@@ -0,0 +1,9 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from odoo import models, fields
+
+
+class L10nLatamIdentificationType(models.Model):
+
+ _inherit = "l10n_latam.identification.type"
+
+ l10n_uy_dgi_code = fields.Char('DGI Code')
diff --git a/addons/l10n_uy/models/res_company.py b/addons/l10n_uy/models/res_company.py
new file mode 100644
index 00000000000..fd34280e39e
--- /dev/null
+++ b/addons/l10n_uy/models/res_company.py
@@ -0,0 +1,12 @@
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+from odoo import models
+
+
+class ResCompany(models.Model):
+
+ _inherit = 'res.company'
+
+ def _localization_use_documents(self):
+ """ Uruguayan localization use documents """
+ self.ensure_one()
+ return self.account_fiscal_country_id.code == "UY" or super()._localization_use_documents()
diff --git a/addons/l10n_uy/models/template_uy.py b/addons/l10n_uy/models/template_uy.py
index daf0683d068..6b660423386 100644
--- a/addons/l10n_uy/models/template_uy.py
+++ b/addons/l10n_uy/models/template_uy.py
@@ -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
@@ -11,9 +11,12 @@ class AccountChartTemplate(models.AbstractModel):
return {
'property_account_receivable_id': 'uy_code_11300',
'property_account_payable_id': 'uy_code_21100',
- 'property_account_income_categ_id': 'uy_code_4100',
+ 'property_account_income_categ_id': 'uy_code_4102',
'property_account_expense_categ_id': 'uy_code_5100',
'code_digits': '6',
+ 'property_tax_payable_account_id': 'base_default_vat',
+ 'property_tax_receivable_account_id': 'base_default_vat',
+ 'name': _('Uruguayan Generic Chart of Accounts'),
}
@template('uy', 'res.company')
@@ -31,5 +34,32 @@ class AccountChartTemplate(models.AbstractModel):
'account_journal_early_pay_discount_gain_account_id': 'uy_code_4303',
'account_sale_tax_id': 'vat1',
'account_purchase_tax_id': 'vat4',
+ 'deferred_expense_account_id': 'uy_code_11407',
+ 'deferred_revenue_account_id': 'uy_code_21321',
},
}
+
+ @template('uy', 'account.journal')
+ def _get_uy_account_journal(self):
+ return {
+ 'sale': {
+ "name": _("Customer Invoices"),
+ "code": "0001",
+ "l10n_latam_use_documents": True,
+ "refund_sequence": False,
+ },
+ 'purchase': {
+ "name": _("Vendor Bills"),
+ "code": "0002",
+ "l10n_latam_use_documents": True,
+ "refund_sequence": False,
+ },
+ }
+
+ def _load(self, template_code, company, install_demo):
+ """ Set companies rut as the company identification type after install the chart of account,
+ this one is the uruguayan vat """
+ res = super()._load(template_code, company, install_demo)
+ if template_code == 'uy':
+ company.partner_id.l10n_latam_identification_type_id = self.env.ref('l10n_uy.it_rut')
+ return res
diff --git a/addons/l10n_uy/views/account_tax_views.xml b/addons/l10n_uy/views/account_tax_views.xml
new file mode 100644
index 00000000000..95560f81f2f
--- /dev/null
+++ b/addons/l10n_uy/views/account_tax_views.xml
@@ -0,0 +1,15 @@
+
+
+
+
+ account.tax.inherit.view.form
+ account.tax
+
+
+
+
+
+
+
+
+