Initial commit: L10N_Americas packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:52 +02:00
commit 12b27ce151
714 changed files with 79328 additions and 0 deletions

View file

@ -0,0 +1,51 @@
# Chile - Accounting
Chilean accounting chart and tax localization.
Plan contable chileno e impuestos de acuerdo a disposiciones vigentes.
## Installation
```bash
pip install odoo-bringout-oca-ocb-l10n_cl
```
## Dependencies
This addon depends on:
- contacts
- base_vat
- l10n_latam_base
- l10n_latam_invoice_document
- uom
## Manifest Information
- **Name**: Chile - Accounting
- **Version**: 3.0
- **Category**: Accounting/Localizations/Account Charts
- **License**: LGPL-3
- **Installable**: False
## Source
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_cl`.
## License
This package maintains the original LGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph L10n_cl Module - l10n_cl
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for l10n_cl. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,9 @@
# Dependencies
This addon depends on:
- [contacts](../../odoo-bringout-oca-ocb-contacts)
- [base_vat](../../odoo-bringout-oca-ocb-base_vat)
- [l10n_latam_base](../../odoo-bringout-oca-ocb-l10n_latam_base)
- [l10n_latam_invoice_document](../../odoo-bringout-oca-ocb-l10n_latam_invoice_document)
- [uom](../../odoo-bringout-oca-ocb-uom)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon l10n_cl or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-ocb-l10n_cl"
# or
uv pip install odoo-bringout-oca-ocb-l10n_cl"
```

View file

@ -0,0 +1,29 @@
# Models
Detected core models and extensions in l10n_cl.
```mermaid
classDiagram
class account_tax
class account_tax_template
class res_bank
class res_country
class res_currency
class res_partner
class account_chart_template
class account_move
class account_move_line
class account_tax
class account_tax_template
class l10n_latam_document_type
class res_bank
class res_company
class res_country
class res_currency
class res_partner
class uom_uom
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: l10n_cl. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon l10n_cl
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,8 @@
# Security
This module does not define custom security rules or access controls beyond Odoo defaults.
Default Odoo security applies:
- Base user access through standard groups
- Model access inherited from dependencies
- No custom row-level security rules

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon l10n_cl
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import demo

View file

@ -0,0 +1,52 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (c) 2019 - Blanco Martín & Asociados. https://www.bmya.cl
{
'name': 'Chile - Accounting',
'version': "3.0",
'description': """
Chilean accounting chart and tax localization.
Plan contable chileno e impuestos de acuerdo a disposiciones vigentes.
""",
'author': 'Blanco Martín & Asociados',
'website': 'https://www.odoo.com/documentation/16.0/applications/finance/accounting/fiscal_localizations/localizations/chile.html',
'category': 'Accounting/Localizations/Account Charts',
'depends': [
'contacts',
'base_vat',
'l10n_latam_base',
'l10n_latam_invoice_document',
'uom',
],
'data': [
'views/account_move_view.xml',
'views/account_tax_view.xml',
'views/res_bank_view.xml',
'views/res_country_view.xml',
'views/res_company_view.xml',
'views/report_invoice.xml',
'views/res_partner.xml',
'views/res_config_settings_view.xml',
'data/l10n_cl_chart_data.xml',
'data/account_tax_report_data.xml',
'data/account_tax_group_data.xml',
'data/account_tax_tags_data.xml',
'data/account_tax_data.xml',
'data/l10n_latam_identification_type_data.xml',
'data/l10n_latam.document.type.csv',
'data/product_data.xml',
'data/uom_data.xml',
'data/res.currency.csv',
'data/res_currency_data.xml',
'data/res.bank.csv',
'data/res.country.csv',
'data/res_partner.xml',
'data/account_fiscal_template.xml',
'data/account_chart_template_data.xml',
],
'demo': [
'demo/demo_company.xml',
'demo/partner_demo.xml',
],
'license': 'LGPL-3',
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_cl.cl_chart_template')]"/>
</function>
</data>
</odoo>

View file

@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="afpt_non_recoverable_vat_1" model="account.fiscal.position.template">
<field name="name">Compras - destinadas a generar operaciones no gravadas o exentas</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_non_recoverable_vat_1_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_cl.afpt_non_recoverable_vat_1"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_compra_no_recup"/>
</record>
<record id="afpt_non_recoverable_vat_2" model="account.fiscal.position.template">
<field name="name">Compras - Facturas de proveedores registrados fuera de plazo</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_non_recoverable_vat_2_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_non_recoverable_vat_2"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_compra_no_recup"/>
</record>
<record id="afpt_non_recoverable_vat_3" model="account.fiscal.position.template">
<field name="name">Compras - Gastos rechazados</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_non_recoverable_vat_3_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_non_recoverable_vat_3"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_compra_no_recup"/>
</record>
<record id="afpt_non_recoverable_vat_4" model="account.fiscal.position.template">
<field name="name">Compras - Entregas gratuitas (premios, bonificaciones, etc.) recibidos</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_non_recoverable_vat_4_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_non_recoverable_vat_4"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_compra_no_recup"/>
</record>
<record id="afpt_non_recoverable_vat_4_account_1" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_non_recoverable_vat_4"/>
<field name="account_src_id" ref="l10n_cl.account_410235"/>
<field name="account_dest_id" ref="l10n_cl.account_410165"/>
</record>
<record id="afpt_non_recoverable_vat_4_account_2" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_non_recoverable_vat_4"/>
<field name="account_src_id" ref="l10n_cl.account_410230"/>
<field name="account_dest_id" ref="l10n_cl.account_410165"/>
</record>
<record id="afpt_non_recoverable_vat_9" model="account.fiscal.position.template">
<field name="name">Compras - Otros</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_non_recoverable_vat_9_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_non_recoverable_vat_9"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_compra_no_recup"/>
</record>
<record id="afpt_fixed_asset" model="account.fiscal.position.template">
<field name="name">Compras - Activo Fijo</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_fixed_asset_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_fixed_asset"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_activo_fijo_uso_comun"/>
</record>
<record id="afpt_fixed_asset_account_1" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_fixed_asset"/>
<field name="account_src_id" ref="l10n_cl.account_410230"/>
<field name="account_dest_id" ref="l10n_cl.account_121140"/>
</record>
<record id="afpt_fixed_asset_account_2" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_fixed_asset"/>
<field name="account_src_id" ref="l10n_cl.account_410235"/>
<field name="account_dest_id" ref="l10n_cl.account_121140"/>
</record>
<record id="afpt_purchase_exempt" model="account.fiscal.position.template">
<field name="name">Compras - Exentas</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_purchase_exempt_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_purchase_exempt"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
</record>
<record id="afpt_purchase_exempt_account" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_purchase_exempt"/>
<field name="account_src_id" ref="l10n_cl.account_410230"/>
<field name="account_dest_id" ref="l10n_cl.account_410130"/>
</record>
<record id="afpt_purchase_supermarket" model="account.fiscal.position.template">
<field name="name">Compras - Supermercado</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_purchase_supermarket_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_purchase_supermarket"/>
<field name="tax_src_id" ref="l10n_cl.OTAX_19"/>
<field name="tax_dest_id" ref="l10n_cl.iva_supermercado_recup"/>
</record>
<record id="afpt_purchase_supermarket_account" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_purchase_supermarket"/>
<field name="account_src_id" ref="l10n_cl.account_410230"/>
<field name="account_dest_id" ref="l10n_cl.account_410233"/>
</record>
<record id="afpt_purchase_supermarket_account_1" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_purchase_supermarket"/>
<field name="account_src_id" ref="l10n_cl.account_410235"/>
<field name="account_dest_id" ref="l10n_cl.account_410233"/>
</record>
<record id="afpt_sale_exempt" model="account.fiscal.position.template">
<field name="name">Ventas - Exentas</field>
<field name="chart_template_id" ref="l10n_cl.cl_chart_template"/>
</record>
<record id="afpt_sale_exempt_tax" model="account.fiscal.position.tax.template">
<field name="position_id" ref="afpt_sale_exempt"/>
<field name="tax_src_id" ref="l10n_cl.ITAX_19"/>
</record>
<record id="afpt_sale_exempt_account" model="account.fiscal.position.account.template">
<field name="position_id" ref="afpt_sale_exempt"/>
<field name="account_src_id" ref="l10n_cl.account_310115"/>
<field name="account_dest_id" ref="l10n_cl.account_310120"/>
</record>
</data>
</odoo>

View file

@ -0,0 +1,852 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Account Tags -->
<record id="ITAX_19" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA 19% Venta</field>
<field name="description">IVA 19% Vta</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="l10n_cl_sii_code">14</field>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_ventas_netas_gravadas_c_iva_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_210710'),
'plus_report_expression_ids': [ref('tax_report_iva_debito_fiscal_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_ventas_netas_gravadas_c_iva_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_210710'),
'minus_report_expression_ids': [ref('tax_report_iva_debito_fiscal_tag')],
}),
]"/>
</record>
<record id="OTAX_19" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA 19% Compra</field>
<field name="description">IVA 19% Comp</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_netas_gr_iva_recup_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_110710'),
'plus_report_expression_ids': [ref('tax_report_compras_iva_recup_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_netas_gr_iva_recup_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_110710'),
'minus_report_expression_ids': [ref('tax_report_compras_iva_recup_tag')],
}),
]"/>
</record>
<record id="I_IU2C" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2020</field>
<field name="description">Ret. 2da 2020</field>
<field name="active">False</field>
<field name="amount">-10.75</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_IR2C_2021" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2021</field>
<field name="description">Ret. 2da 2021</field>
<field name="active">False</field>
<field name="amount">-11.5</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_IR2C_2022" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2022</field>
<field name="description">Ret. 2da 2022</field>
<field name="amount">-12.25</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_IR2C_2023" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2023</field>
<field name="description">Ret. 2da 2023</field>
<field name="amount">-13</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_IR2C_2024" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2024</field>
<field name="description">Ret. 2da 2024</field>
<field name="amount">-13.75</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_IR2C_2025" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2025</field>
<field name="description">Ret. 2da 2025</field>
<field name="amount">-14.5</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_IR2C_2026" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Ret. 2da Categoría 2026</field>
<field name="description">Ret. 2da 2026</field>
<field name="amount">-15.25</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_2da_categ"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'plus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_retencion_segunda_categ_tag')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
'account_id': ref('account_210740'),
'minus_report_expression_ids': [ref('tax_report_retencion_segunda_categ_tag')],
}),
]"/>
</record>
<record id="I_RTI" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Retención Total IVA</field>
<field name="description">Retención total IVA</field>
<field name="amount">-19.00</field>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">15</field>
<field name="tax_group_id" ref="tax_group_retenciones"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_retencion_total_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_210715'),
'plus_report_expression_ids': [ref('tax_report_retencion_total_compras_tag')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_retencion_total_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_210715'),
'minus_report_expression_ids': [ref('tax_report_retencion_total_compras_tag')],
}),
]"/>
</record>
<record id="especifico_compra" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Específico Compra</field>
<field name="description">Espec. Comp</field>
<field name="amount">63</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">29</field>
<field name="sequence" eval="5"/>
<field name="tax_group_id" ref="tax_group_impuestos_especificos"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {'repartition_type': 'base'}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {'repartition_type': 'base'}),
(0,0, {
'repartition_type': 'tax',
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="iva_activo_fijo" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA Compra 19% Activo Fijo</field>
<field name="description">IVA 19% ActF</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="sequence" eval="6"/>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_activo_fijo_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_compras_iva_activo_fijo_tag')],
'account_id': ref('account_110730'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_activo_fijo_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_compras_iva_activo_fijo_tag')],
'account_id': ref('account_110730'),
}),
]"/>
</record>
<record id="iva_activo_fijo_uso_comun" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA Compra 19% Act. Fijo Uso Común</field>
<field name="description">IVA 19% ActFUC</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="sequence" eval="6"/>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_activo_fijo_uso_comun_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_compras_iva_activo_fijo_uso_comun_tag')],
'account_id': ref('account_110730'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_activo_fijo_uso_comun_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_compras_iva_activo_fijo_uso_comun_tag')],
'account_id': ref('account_110730'),
}),
]"/>
</record>
<record id="iva_activo_fijo_uso_no_recup" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA Compra 19% Activo Fijo No Recup</field>
<field name="description">IVA 19% ActFNR</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="sequence" eval="6"/>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_activo_fijo_no_recup_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_compras_iva_activo_fijo_no_recup_tag')],
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_activo_fijo_no_recup_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_compras_iva_activo_fijo_no_recup_tag')],
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="ila_a_100_p" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Beb. Analc. 10% (Compras)</field>
<field name="description">ILA C 10%</field>
<field name="amount">10</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">27</field>
<field name="type_tax_use">purchase</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="ila_a_180_p" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Beb. Analc 18% (Compras)</field>
<field name="description">ILA C 18%</field>
<field name="amount">18</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">26</field>
<field name="type_tax_use">purchase</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="ila_v_205_p" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Vinos (Compras)</field>
<field name="description">ILA C 20.5%</field>
<field name="amount">20.5</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">25</field>
<field name="type_tax_use">purchase</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="ila_l_315_p" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Licores 31.5% (Compras)</field>
<field name="description">ILA C 31.5%</field>
<field name="amount">31.5</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">24</field>
<field name="type_tax_use">purchase</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_compras_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_compras_tag')],
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="ila_a_100_s" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Beb. Analc. 10% (Ventas)</field>
<field name="description">ILA V 10%</field>
<field name="amount">10</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">27</field>
<field name="type_tax_use">sale</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
</record>
<record id="ila_a_180_s" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Beb. Analc 18% (Ventas)</field>
<field name="description">ILA V 18%</field>
<field name="amount">18</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">26</field>
<field name="type_tax_use">sale</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
</record>
<record id="ila_v_205_s" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Vinos (Ventas)</field>
<field name="description">ILA V 20.5%</field>
<field name="amount">20.5</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">25</field>
<field name="type_tax_use">sale</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
</record>
<record id="ila_l_315_s" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">Licores 31.5% (Ventas)</field>
<field name="description">ILA V 31.5%</field>
<field name="amount">31.5</field>
<field name="amount_type">percent</field>
<field name="l10n_cl_sii_code">24</field>
<field name="type_tax_use">sale</field>
<field name="sequence" eval="7"/>
<field name="tax_group_id" ref="tax_group_ila"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_base_ila_ventas_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_tax_ila_ventas_tag')],
'account_id': ref('account_210760'),
}),
]"/>
</record>
<record id="iva_compra_no_recup" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA Compra 19% No Recup.</field>
<field name="description">IVA 19% NoR</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="sequence" eval="6"/>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_netas_gr_iva_no_recuperable_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_compras_iva_no_recup_tag')],
'account_id': ref('account_420220'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_netas_gr_iva_no_recuperable_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_compras_iva_no_recup_tag')],
'account_id': ref('account_420220'),
}),
]"/>
</record>
<record id="iva_compra_uso_comun" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA Compra 19% Uso Común</field>
<field name="description">IVA 19% CUC</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="sequence" eval="6"/>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_netas_gr_iva_uso_comun_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_compras_iva_uso_comun_tag')],
'account_id': ref('account_110730'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_netas_gr_iva_uso_comun_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_compras_iva_uso_comun_tag')],
'account_id': ref('account_110730'),
}),
]"/>
</record>
<record id="iva_supermercado_recup" model="account.tax.template">
<field name="chart_template_id" ref="cl_chart_template"/>
<field name="name">IVA Compra 19% Superm.</field>
<field name="description">IVA 19% SupMRec</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">purchase</field>
<field name="l10n_cl_sii_code">14</field>
<field name="sequence" eval="6"/>
<field name="tax_group_id" ref="tax_group_iva_19"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'plus_report_expression_ids': [ref('tax_report_compras_supermercado_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'plus_report_expression_ids': [ref('tax_report_compras_iva_supermercado_tag')],
'account_id': ref('account_110710'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
'repartition_type': 'base',
'minus_report_expression_ids': [ref('tax_report_compras_supermercado_tag')],
}),
(0,0, {
'repartition_type': 'tax',
'minus_report_expression_ids': [ref('tax_report_compras_iva_supermercado_tag')],
'account_id': ref('account_110710'),
}),
]"/>
</record>
</odoo>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="1">
<record id="tax_group_iva_19" model="account.tax.group">
<field name="name">IVA 19%</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tax_group_impuestos_especificos" model="account.tax.group">
<field name="name">Impuestos Específicos</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tax_group_ila" model="account.tax.group">
<field name="name">ILA</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tax_group_2da_categ" model="account.tax.group">
<field name="name">Retención de 2da Categoría</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tax_group_retenciones" model="account.tax.group">
<field name="name">Retenciones</field>
<field name="country_id" ref="base.cl"/>
</record>
</data>
</odoo>

View file

@ -0,0 +1,320 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="tax_report" model="account.report">
<field name="name">Tax Report</field>
<field name="root_report_id" ref="account.generic_tax_report"/>
<field name="country_id" ref="base.cl"/>
<field name="filter_fiscal_position" eval="True"/>
<field name="availability_condition">country</field>
<field name="column_ids">
<record id="tax_report_balance" model="account.report.column">
<field name="name">Balance</field>
<field name="expression_label">balance</field>
</record>
</field>
<field name="line_ids">
<record id="tax_report_base_imponible_ventas" model="account.report.line">
<field name="name">Base Imponible Ventas</field>
<field name="expression_ids">
<record id="tax_report_base_imponible_ventas_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Base Imponible Ventas</field>
</record>
</field>
<field name="children_ids">
<record id="tax_report_ventas_exentas" model="account.report.line">
<field name="name">Ventas Exentas</field>
<field name="expression_ids">
<record id="tax_report_ventas_exentas_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Ventas Exentas</field>
</record>
</field>
</record>
<record id="tax_report_impuestos_renta" model="account.report.line">
<field name="name">Impuesto a la Renta Primera Categoría a Pagar</field>
<field name="expression_ids">
<record id="tax_report_impuestos_renta_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Impuesto a la Renta Primera Categoría a Pagar</field>
</record>
</field>
</record>
</field>
</record>
<record id="tax_report_retencion_total_compras" model="account.report.line">
<field name="name">Retención Total (compras)</field>
<field name="expression_ids">
<record id="tax_report_retencion_total_compras_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Retención Total (compras)</field>
</record>
</field>
</record>
<record id="tax_report_ventas_netas_gravadas_c_iva" model="account.report.line">
<field name="name">Ventas Netas Gravadas con IVA</field>
<field name="expression_ids">
<record id="tax_report_ventas_netas_gravadas_c_iva_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Ventas Netas Gravadas con IVA</field>
</record>
</field>
</record>
<record id="tax_report_impuestos_originados_venta" model="account.report.line">
<field name="name">Impuesto Originado por la Venta</field>
<field name="expression_ids">
<record id="tax_report_impuestos_originados_venta_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Impuesto Originado por la Venta</field>
</record>
</field>
</record>
<record id="tax_report_iva_debito_fiscal" model="account.report.line">
<field name="name">IVA Debito Fiscal</field>
<field name="expression_ids">
<record id="tax_report_iva_debito_fiscal_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">IVA Debito Fiscal</field>
</record>
</field>
</record>
<record id="tax_report_ppm" model="account.report.line">
<field name="name">PPM</field>
<field name="expression_ids">
<record id="tax_report_ppm_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">PPM</field>
</record>
</field>
</record>
<record id="tax_report_compras_netas_gr_iva_recup" model="account.report.line">
<field name="name">Compras Netas Gravadas Con IVA (recuperable)</field>
<field name="expression_ids">
<record id="tax_report_compras_netas_gr_iva_recup_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras Netas Gravadas Con IVA (recuperable)</field>
</record>
</field>
</record>
<record id="tax_report_compras_netas_gr_iva_uso_comun" model="account.report.line">
<field name="name">Compra Netas Gravadas Con IVA Uso Comun</field>
<field name="expression_ids">
<record id="tax_report_compras_netas_gr_iva_uso_comun_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compra Netas Gravadas Con IVA Uso Comun</field>
</record>
</field>
</record>
<record id="tax_report_compras_netas_gr_iva_no_recuperable" model="account.report.line">
<field name="name">Compras IVA No Recuperable</field>
<field name="expression_ids">
<record id="tax_report_compras_netas_gr_iva_no_recuperable_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras IVA No Recuperable</field>
</record>
</field>
</record>
<record id="tax_report_compras_supermercado" model="account.report.line">
<field name="name">Compras De Supermercado</field>
<field name="expression_ids">
<record id="tax_report_compras_supermercado_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras De Supermercado</field>
</record>
</field>
</record>
<record id="tax_report_compras_activo_fijo" model="account.report.line">
<field name="name">Compras de Activo Fijo</field>
<field name="expression_ids">
<record id="tax_report_compras_activo_fijo_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras de Activo Fijo</field>
</record>
</field>
</record>
<record id="tax_report_compras_activo_fijo_uso_comun" model="account.report.line">
<field name="name">Compras de Activo Fijo Uso Común</field>
<field name="expression_ids">
<record id="tax_report_compras_activo_fijo_uso_comun_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras de Activo Fijo Uso Común</field>
</record>
</field>
</record>
<record id="tax_report_compras_activo_fijo_no_recup" model="account.report.line">
<field name="name">Compras de Activo Fijo No Recuperable</field>
<field name="expression_ids">
<record id="tax_report_compras_activo_fijo_no_recup_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras de Activo Fijo No Recuperable</field>
</record>
</field>
</record>
<record id="tax_report_compras_no_gravadas_iva" model="account.report.line">
<field name="name">Compras No Gravadas Con IVA</field>
<field name="expression_ids">
<record id="tax_report_compras_no_gravadas_iva_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras No Gravadas Con IVA</field>
</record>
</field>
</record>
<record id="tax_report_impuestos_pagados_compra" model="account.report.line">
<field name="name">Impuestos Pagados en la Compra</field>
<field name="expression_ids">
<record id="tax_report_impuestos_pagados_compra_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Impuestos Pagados en la Compra</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_recup" model="account.report.line">
<field name="name">IVA Pagado Compras Recuperables</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_recup_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">IVA Pagado Compras Recuperables</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_uso_comun" model="account.report.line">
<field name="name">IVA Pagado Compras Uso Común</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_uso_comun_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">IVA Pagado Compras Uso Común</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_no_recup" model="account.report.line">
<field name="name">IVA Pagado No Recuperable</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_no_recup_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">IVA Pagado No Recuperable</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_supermercado" model="account.report.line">
<field name="name">IVA Pagado Compras Supermercado</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_supermercado_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">IVA Pagado Compras Supermercado</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_activo_fijo" model="account.report.line">
<field name="name">Compras Activo Fijo</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_activo_fijo_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras Activo Fijo</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_activo_fijo_uso_comun" model="account.report.line">
<field name="name">Compras Activo Fijo Uso Común</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_activo_fijo_uso_comun_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras Activo Fijo Uso Común</field>
</record>
</field>
</record>
<record id="tax_report_compras_iva_activo_fijo_no_recup" model="account.report.line">
<field name="name">Compras Activo Fijo No Recuperables</field>
<field name="expression_ids">
<record id="tax_report_compras_iva_activo_fijo_no_recup_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Compras Activo Fijo No Recuperables</field>
</record>
</field>
</record>
<record id="tax_report_retencion_segunda_categ" model="account.report.line">
<field name="name">Retención Segunda Categoría</field>
<field name="expression_ids">
<record id="tax_report_retencion_segunda_categ_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Retención Segunda Categoría</field>
</record>
</field>
</record>
<record id="tax_report_base_retencion_segunda_categ" model="account.report.line">
<field name="name">Base Retención Segunda Categoría</field>
<field name="expression_ids">
<record id="tax_report_base_retencion_segunda_categ_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Base Retención Segunda Categoría</field>
</record>
</field>
</record>
<record id="tax_report_base_ila_compras" model="account.report.line">
<field name="name">Base Retenciones ILA (compras)</field>
<field name="expression_ids">
<record id="tax_report_base_ila_compras_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Base Retenciones ILA (compras)</field>
</record>
</field>
</record>
<record id="tax_report_tax_ila_compras" model="account.report.line">
<field name="name">Impuesto Ret Sufrida ILA (compras)</field>
<field name="expression_ids">
<record id="tax_report_tax_ila_compras_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Retenciones ILA (compras)</field>
</record>
</field>
</record>
<record id="tax_report_base_ila_ventas" model="account.report.line">
<field name="name">Base Retenciones ILA (ventas)</field>
<field name="expression_ids">
<record id="tax_report_base_ila_ventas_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Base Retenciones ILA (ventas)</field>
</record>
</field>
</record>
<record id="tax_report_tax_ila_ventas" model="account.report.line">
<field name="name">Impuesto Ret Practicadas ILA (ventas)</field>
<field name="expression_ids">
<record id="tax_report_tax_ila_ventas_tag" model="account.report.expression">
<field name="label">balance</field>
<field name="engine">tax_tags</field>
<field name="formula">Retenciones ILA (ventas)</field>
</record>
</field>
</record>
</field>
</record>
</odoo>

View file

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="tag_cl_sale_mnt_iva" model="account.account.tag">
<!-- TotMntIVA -->
<field name="name">Ventas - Monto IVA</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_mnt_fuera_plazo" model="account.account.tag">
<!-- TotIVAFueraPlazo -->
<field name="name">Ventas - IVA Fuera de Plazo</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_propio" model="account.account.tag">
<!-- TotIVAPropio -->
<field name="name">Ventas - IVA Propio</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_terceros" model="account.account.tag">
<!-- TotIVATerceros -->
<field name="name">Ventas - IVA Terceros</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_18211" model="account.account.tag">
<!-- TotLey18211 -->
<field name="name">Ventas - IVA Ley 18211</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_otros_imp" model="account.account.tag">
<!-- TotOtrosImp -->
<field name="name">Ventas - Otros Impuestos</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_ret_total" model="account.account.tag">
<!-- TotIVARetTotal -->
<field name="name">Ventas - IVA Retenido Total</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_ret_parcial" model="account.account.tag">
<!-- TotIVARetParcial -->
<field name="name">Ventas - IVA Retenido Parcial</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_cred_ec" model="account.account.tag">
<!-- TotCredEC -->
<field name="name">Ventas - Credito Especial 65% Empresas Constructoras</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_dep_env" model="account.account.tag">
<!-- TotDepEnvase -->
<field name="name">Ventas - Depósito de Envases</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_comisiones" model="account.account.tag">
<!-- TotValComIVA -->
<field name="name">Ventas - IVA Comisiones y Otros Cargos</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_sale_iva_no_retenido" model="account.account.tag">
<!-- TotOpIVANoRetenido -->
<field name="name">Ventas - IVA No Retenido</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva" model="account.account.tag">
<!-- TotMntIVA -->
<field name="name">Compras - Monto IVA Recuperable</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva_actf" model="account.account.tag">
<!-- TotMntIVAActivoFijo -->
<field name="name">Compras - Monto IVA Activo Fijo</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva_actf_uso_comun" model="account.account.tag">
<!-- TotMntIVAActivoFijo -->
<field name="name">Compras - Monto IVA Activo Fijo (Uso Común)</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva_actf_no_recup" model="account.account.tag">
<!-- TotMntIVAActivoFijo -->
<field name="name">Compras - Monto IVA Activo Fijo (Uso Común)</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva_no_rec" model="account.account.tag">
<!-- TotMntIVANoRec -->
<field name="name">Compras - Monto IVA No Recuperable</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva_uso_comun" model="account.account.tag">
<!-- TotMntIVANoRec -->
<field name="name">Compras - Monto IVA Uso Comun</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_iva_supermercado" model="account.account.tag">
<field name="name">Compras - Monto IVA Compras Supermercado</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_mnt_otros_imp" model="account.account.tag">
<!-- TotOtrosImp -->
<field name="name">Compras - Monto Otros Impuestos</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_imp_sin_credito" model="account.account.tag">
<!-- TotImpSinCredito -->
<field name="name">Compras - Impuestos Sin Crédito</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_iva_no_ret" model="account.account.tag">
<!-- TotIVANoRetenido -->
<field name="name">Compras - IVA No Retenido Fac de compra</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_imp_42" model="account.account.tag">
<!-- TotCredImp -->
<field name="name">Compras - Credito Imp Art 42</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_imp_sin_cred" model="account.account.tag">
<!-- TotImpSinCredito -->
<field name="name">Compras - Impuesto Sin Credito</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_iva_no_reten" model="account.account.tag">
<!-- TotIVANoRetenido -->
<field name="name">Compras - IVA No Retenido</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
<record id="tag_cl_purchase_imp_vehic" model="account.account.tag">
<!-- TotImpVehiculo -->
<field name="name">Compras - Impuesto a Vehículos Automotores</field>
<field name="applicability">taxes</field>
<field name="country_id" ref="base.cl"/>
</record>
</data>
</odoo>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,59 @@
id,sequence,code,name,report_name,internal_type,doc_code_prefix,country_id/id,l10n_cl_active,active
dc_a_f_dte,1,33,Factura Electrónica,FACTURA,invoice,FAC,base.cl,True,True
dc_y_f_dte,2,34,Factura no Afecta o Exenta Electrónica,F-EXENTA,invoice,FNA,base.cl,True,True
dc_nc_f_dte,3,61,Nota de Crédito Electrónica,NOTA DE CREDITO,credit_note,N/C,base.cl,True,True
dc_nd_f_dte,4,56,Nota de Débito Electrónica,NOTA DE DEBITO,debit_note,N/D,base.cl,True,True
dc_b_f_dte,5,39,Boleta Electrónica,BEL,invoice,BEL,base.cl,True,True
dc_m_d_dtn,6,71,Boleta de Honorarios Electrónica,BHE,invoice,BHE,base.cl,True,True
dc_b_e_dtn,7,38,Boleta exenta,BEX,invoice,BEX,base.cl,False,False
dc_gd_dte,8,52,Guía de Despacho Electrónica,GDE,stock_picking,GDE,base.cl,False,True
dc_I_f_dtn,10,29,Factura de Inicio,FAI,invoice,FAI,base.cl,False,False
dc_a_f_dtn,10,30,Factura,FACTURA,invoice,FAC,base.cl,False,False
dc_y_f_dtn,10,32,Factura de Ventas y Servicios no Afectos o Exentos de IVA,F-EXENTA,invoice,FNA,base.cl,False,False
dc_b_f_dtn,10,35,Boleta de Venta,BOL,invoice,BOL,base.cl,False,False
dc_l_f_dtn,10,40,Liquidación Factura,L-FACTURAM,invoice,FAL,base.cl,False,False
dc_b_e_dte,10,41,Boleta Exenta Electrónica,BXE,invoice,BXE,base.cl,True,True
dc_l_f_dte,10,43,Liquidación Factura Electrónica,L-FACTURAE,invoice,FAL,base.cl,False,False
dc_fc_f_dtn,10,45,Factura de Compra,FACTURA,invoice_in,FAC,base.cl,False,False
dc_fc_f_dte,10,46,Factura de Compra Electrónica,FACTURA,invoice_in,FAC,base.cl,False,True
dc_gd,10,50,Guía de Despacho,GD,stock_picking,GD,base.cl,False,False
dc_nd_f_dtn,10,55,Nota de Débito,NOTA DE DEBITO,debit_note,N/D,base.cl,False,False
dc_nc_f_dtn,10,60,Nota de Crédito,NOTA DE CREDITO,credit_note,N/C,base.cl,False,False
dc_m_f_dtn,10,70,Boleta de Honorarios,BHO,invoice,BHO,base.cl,False,False
dc_li,10,103,Liquidación,LIQ,,LIQ,base.cl,False,True
dc_s_f_dtn,10,108,SRF Solicitud de Registro de Factura,SOL REGISTRO,,REG,base.cl,False,True
dc_fe_dte,10,110,Factura de Exportación Electrónica,FCXE,invoice,FCXE,base.cl,False,True
dc_ndex_dte,10,111,Nota de Débito de Exportación Electrónica,NDXE,debit_note,NDXE,base.cl,False,True
dc_ncex_dte,10,112,Nota de Crédito de Exportación Electrónica,NCXE,credit_note,NCXE,base.cl,False,True
dc_oc,10,300,Orden de Compra,OC,,OC,base.cl,False,True
dc_tca_f_dtn,10,500,Ajuste aumento Tipo de Cambio (código 500),TC-A,,TCA,base.cl,False,True
dc_tcd_f_dtn,10,501,Ajuste disminución Tipo de Cambio (código 501),TC-D,,TCD,base.cl,False,True
dc_odc,10,801,Orden de Compra,OC,,OC,base.cl,False,True
dc_ndp,10,802,Nota de pedido,NP,,NP,base.cl,False,True
dc_cont,10,803,Contrato,CONT,,CONT,base.cl,False,True
dc_resol,10,804,Resolución,RES,,RES,base.cl,False,True
dc_prchc,10,805,Proceso ChileCompra,PCHC,,PCHC,base.cl,False,True
dc_fichc,10,806,Ficha ChileCompra,FCHC,,FCHC,base.cl,False,True
dc_dus,10,807,Documento Único de Salida (DUS),DUS,,DUS,base.cl,False,True
dc_bl_cemb,10,808,B/L (Conocimiento de embarque),B/L,,B/L,base.cl,False,True
dc_awb,10,809,AWB Airway Bill,AWB,,AWB,base.cl,False,True
dc_mic_dta,10,810,MIC/DTA,MDT,,MDT,base.cl,False,True
dc_cpor,10,811,Carta de Porte,CPR,,CPR,base.cl,False,True
dc_res_sna,10,812,Resolución del SNA donde califica Servicios de Exportación,RSN,,RSN,base.cl,False,True
dc_pasap,10,813,Pasaporte,PSP,,PSP,base.cl,False,True
dc_cd_bol,10,814,Certificado de Depósito Bolsa Prod. Chile.,CRTD,,CRTD,base.cl,False,True
dc_vp_pren,10,815,Vale de Prenda Bolsa Prod. Chile,VLPR,,VLPR,base.cl,False,True
dc_ftf_f_dtn,10,901,Factura de ventas a empresas del territorio preferencial ( Res. Ex. N° 1057,FACTURA,invoice,FAC,base.cl,False,False
dc_cem_ma,10,902,Conocimiento de Embarque (Marítimo o aéreo),CEM,,CEM,base.cl,False,True
dc_ftt_f_dtn,10,904,Factura de Traspaso,FACT TR,invoice,FTR,base.cl,False,False
dc_frr_f_dtn,10,905,Factura de Reexpedición,FACT RX,invoice,FRX,base.cl,False,False
dc_bzf_f_dtn,10,906,Boletas Venta Módulos ZF (todas),BOLETA ZF,invoice,BZF,base.cl,False,False
dc_fzf_f_dtn,10,907,Facturas Venta Módulo ZF (todas),FACTURA ZF,invoice,FZF,base.cl,False,False
dc_dizf_f_dtn,10,911,Declaración de Ingreso a Zona Franca Primaria,DEC ING,invoice_in,DIN,base.cl,False,False
dc_din_f_dtn,10,914,Declaración de Ingreso (DIN),DEC ING,invoice_in,DIN,base.cl,False,True
dc_res_vn_sf,10,919,Resumen Ventas de nacionales pasajes sin Factura,PASJ,,PASJ,base.cl,False,True
dc_chq,10,CHQ,Cheque,CHQ,,CHQ,base.cl,False,True
dc_hem,10,HEM,Hoja de Entrada de Materiales (HEM),HEM,,HEM,base.cl,False,True
dc_hes,10,HES,Hoja de Entrada de Servicio (HES),HES,,HES,base.cl,False,True
dc_migo,10,MIG,Movimiento de Mercancías (MIGO),MIGO,,MIGO,base.cl,False,True
dc_pag,10,PAG,Pagaré,PAG,,PAG,base.cl,False,True
1 id sequence code name report_name internal_type doc_code_prefix country_id/id l10n_cl_active active
2 dc_a_f_dte 1 33 Factura Electrónica FACTURA invoice FAC base.cl True True
3 dc_y_f_dte 2 34 Factura no Afecta o Exenta Electrónica F-EXENTA invoice FNA base.cl True True
4 dc_nc_f_dte 3 61 Nota de Crédito Electrónica NOTA DE CREDITO credit_note N/C base.cl True True
5 dc_nd_f_dte 4 56 Nota de Débito Electrónica NOTA DE DEBITO debit_note N/D base.cl True True
6 dc_b_f_dte 5 39 Boleta Electrónica BEL invoice BEL base.cl True True
7 dc_m_d_dtn 6 71 Boleta de Honorarios Electrónica BHE invoice BHE base.cl True True
8 dc_b_e_dtn 7 38 Boleta exenta BEX invoice BEX base.cl False False
9 dc_gd_dte 8 52 Guía de Despacho Electrónica GDE stock_picking GDE base.cl False True
10 dc_I_f_dtn 10 29 Factura de Inicio FAI invoice FAI base.cl False False
11 dc_a_f_dtn 10 30 Factura FACTURA invoice FAC base.cl False False
12 dc_y_f_dtn 10 32 Factura de Ventas y Servicios no Afectos o Exentos de IVA F-EXENTA invoice FNA base.cl False False
13 dc_b_f_dtn 10 35 Boleta de Venta BOL invoice BOL base.cl False False
14 dc_l_f_dtn 10 40 Liquidación Factura L-FACTURAM invoice FAL base.cl False False
15 dc_b_e_dte 10 41 Boleta Exenta Electrónica BXE invoice BXE base.cl True True
16 dc_l_f_dte 10 43 Liquidación Factura Electrónica L-FACTURAE invoice FAL base.cl False False
17 dc_fc_f_dtn 10 45 Factura de Compra FACTURA invoice_in FAC base.cl False False
18 dc_fc_f_dte 10 46 Factura de Compra Electrónica FACTURA invoice_in FAC base.cl False True
19 dc_gd 10 50 Guía de Despacho GD stock_picking GD base.cl False False
20 dc_nd_f_dtn 10 55 Nota de Débito NOTA DE DEBITO debit_note N/D base.cl False False
21 dc_nc_f_dtn 10 60 Nota de Crédito NOTA DE CREDITO credit_note N/C base.cl False False
22 dc_m_f_dtn 10 70 Boleta de Honorarios BHO invoice BHO base.cl False False
23 dc_li 10 103 Liquidación LIQ LIQ base.cl False True
24 dc_s_f_dtn 10 108 SRF Solicitud de Registro de Factura SOL REGISTRO REG base.cl False True
25 dc_fe_dte 10 110 Factura de Exportación Electrónica FCXE invoice FCXE base.cl False True
26 dc_ndex_dte 10 111 Nota de Débito de Exportación Electrónica NDXE debit_note NDXE base.cl False True
27 dc_ncex_dte 10 112 Nota de Crédito de Exportación Electrónica NCXE credit_note NCXE base.cl False True
28 dc_oc 10 300 Orden de Compra OC OC base.cl False True
29 dc_tca_f_dtn 10 500 Ajuste aumento Tipo de Cambio (código 500) TC-A TCA base.cl False True
30 dc_tcd_f_dtn 10 501 Ajuste disminución Tipo de Cambio (código 501) TC-D TCD base.cl False True
31 dc_odc 10 801 Orden de Compra OC OC base.cl False True
32 dc_ndp 10 802 Nota de pedido NP NP base.cl False True
33 dc_cont 10 803 Contrato CONT CONT base.cl False True
34 dc_resol 10 804 Resolución RES RES base.cl False True
35 dc_prchc 10 805 Proceso ChileCompra PCHC PCHC base.cl False True
36 dc_fichc 10 806 Ficha ChileCompra FCHC FCHC base.cl False True
37 dc_dus 10 807 Documento Único de Salida (DUS) DUS DUS base.cl False True
38 dc_bl_cemb 10 808 B/L (Conocimiento de embarque) B/L B/L base.cl False True
39 dc_awb 10 809 AWB Airway Bill AWB AWB base.cl False True
40 dc_mic_dta 10 810 MIC/DTA MDT MDT base.cl False True
41 dc_cpor 10 811 Carta de Porte CPR CPR base.cl False True
42 dc_res_sna 10 812 Resolución del SNA donde califica Servicios de Exportación RSN RSN base.cl False True
43 dc_pasap 10 813 Pasaporte PSP PSP base.cl False True
44 dc_cd_bol 10 814 Certificado de Depósito Bolsa Prod. Chile. CRTD CRTD base.cl False True
45 dc_vp_pren 10 815 Vale de Prenda Bolsa Prod. Chile VLPR VLPR base.cl False True
46 dc_ftf_f_dtn 10 901 Factura de ventas a empresas del territorio preferencial ( Res. Ex. N° 1057 FACTURA invoice FAC base.cl False False
47 dc_cem_ma 10 902 Conocimiento de Embarque (Marítimo o aéreo) CEM CEM base.cl False True
48 dc_ftt_f_dtn 10 904 Factura de Traspaso FACT TR invoice FTR base.cl False False
49 dc_frr_f_dtn 10 905 Factura de Reexpedición FACT RX invoice FRX base.cl False False
50 dc_bzf_f_dtn 10 906 Boletas Venta Módulos ZF (todas) BOLETA ZF invoice BZF base.cl False False
51 dc_fzf_f_dtn 10 907 Facturas Venta Módulo ZF (todas) FACTURA ZF invoice FZF base.cl False False
52 dc_dizf_f_dtn 10 911 Declaración de Ingreso a Zona Franca Primaria DEC ING invoice_in DIN base.cl False False
53 dc_din_f_dtn 10 914 Declaración de Ingreso (DIN) DEC ING invoice_in DIN base.cl False True
54 dc_res_vn_sf 10 919 Resumen Ventas de nacionales pasajes sin Factura PASJ PASJ base.cl False True
55 dc_chq 10 CHQ Cheque CHQ CHQ base.cl False True
56 dc_hem 10 HEM Hoja de Entrada de Materiales (HEM) HEM HEM base.cl False True
57 dc_hes 10 HES Hoja de Entrada de Servicio (HES) HES HES base.cl False True
58 dc_migo 10 MIG Movimiento de Mercancías (MIGO) MIGO MIGO base.cl False True
59 dc_pag 10 PAG Pagaré PAG PAG base.cl False True

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="False">
<record model='l10n_latam.identification.type' id='it_RUT'>
<field name='name'>RUT</field>
<field name='description'>RUT</field>
<field name='sequence'>11</field>
<field name='is_vat' eval='True'/>
<field name='country_id' ref="base.cl"/>
</record>
<record model='l10n_latam.identification.type' id='it_RUN'>
<field name='name'>RUN</field>
<field name='description'>Cédula</field>
<field name='sequence'>12</field>
<field name='country_id' ref="base.cl"/>
</record>
<record model='l10n_latam.identification.type' id='it_DNI'>
<field name='name'>DNI</field>
<field name='description'>DNI Extranjero</field>
<field name='sequence'>13</field>
<field name='country_id' ref="base.cl"/>
</record>
</data>
</odoo>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="1">
<record id="product_product_ad_valorem" model="product.product">
<field name="name">Ad-Valorem</field>
<field name="detailed_type">service</field>
<field name="default_code">AD_VALOREM</field>
<field name="description">Cargo para calculo de Ad-Valorem en DIN</field>
<field name="sale_ok" eval="False"/>
<field name="uom_id" ref="uom.product_uom_unit"/>
</record>
</odoo>

View file

@ -0,0 +1,33 @@
id,name,l10n_cl_sbif_code,country
bank_001_0,Banco de Chile,001,Chile
bank_001_1,Banco Edwards,001,Chile
bank_001_2,Citi,001,Chile
bank_001_3,Atlas,001,Chile
bank_001_4,CrediChile,001,Chile
bank_009_0,Banco Internacional,009,Chile
bank_012_0,Banco Estado,012,Chile
bank_014_0,Scotiabank Chile,014,Chile
bank_016_0,Banco De Credito e Inversiones (BCI),016,Chile
bank_016_1,Tbanc,016,Chile
bank_016_2,BCI Nova,016,Chile
bank_027_0,Corpbanca,027,Chile
bank_027_1,Banco Condell,027,Chile
bank_028_0,Banco Bice,028,Chile
bank_031_0,Hsbc Bank,031,Chile
bank_037_0,Banco Santander-Chile,037,Chile
bank_037_1,Banefe,037,Chile
bank_039_0,Banco Itaú Chile,039,Chile
bank_049_0,Banco Security,049,Chile
bank_051_0,Banco Falabella,051,Chile
bank_052_0,Deutsche Bank,052,Chile
bank_053_0,Banco Ripley,053,Chile
bank_054_0,Rabobank Chile (Ex Hns Banco),054,Chile
bank_055_0,Banco Consorcio (Ex Banco Monex),055,Chile
bank_056_0,Banco Penta,056,Chile
bank_057_0,Banco Paris,057,Chile
bank_504_0,Banco Bilbao Vizcaya Argentaria Chile (BBVA),504,Chile
bank_504_1,BBVA Express,504,Chile
bank_059_0,Banco Btg Pactual Chile,059,Chile
bank_017_0,Banco Do Brasil S.A.,017,Chile
bank_041_0,Jp Morgan Chase Bank N. A.,041,Chile
bank_043_0,Banco De La Nacion Argentina,043,Chile
1 id name l10n_cl_sbif_code country
2 bank_001_0 Banco de Chile 001 Chile
3 bank_001_1 Banco Edwards 001 Chile
4 bank_001_2 Citi 001 Chile
5 bank_001_3 Atlas 001 Chile
6 bank_001_4 CrediChile 001 Chile
7 bank_009_0 Banco Internacional 009 Chile
8 bank_012_0 Banco Estado 012 Chile
9 bank_014_0 Scotiabank Chile 014 Chile
10 bank_016_0 Banco De Credito e Inversiones (BCI) 016 Chile
11 bank_016_1 Tbanc 016 Chile
12 bank_016_2 BCI Nova 016 Chile
13 bank_027_0 Corpbanca 027 Chile
14 bank_027_1 Banco Condell 027 Chile
15 bank_028_0 Banco Bice 028 Chile
16 bank_031_0 Hsbc Bank 031 Chile
17 bank_037_0 Banco Santander-Chile 037 Chile
18 bank_037_1 Banefe 037 Chile
19 bank_039_0 Banco Itaú Chile 039 Chile
20 bank_049_0 Banco Security 049 Chile
21 bank_051_0 Banco Falabella 051 Chile
22 bank_052_0 Deutsche Bank 052 Chile
23 bank_053_0 Banco Ripley 053 Chile
24 bank_054_0 Rabobank Chile (Ex Hns Banco) 054 Chile
25 bank_055_0 Banco Consorcio (Ex Banco Monex) 055 Chile
26 bank_056_0 Banco Penta 056 Chile
27 bank_057_0 Banco Paris 057 Chile
28 bank_504_0 Banco Bilbao Vizcaya Argentaria Chile (BBVA) 504 Chile
29 bank_504_1 BBVA Express 504 Chile
30 bank_059_0 Banco Btg Pactual Chile 059 Chile
31 bank_017_0 Banco Do Brasil S.A. 017 Chile
32 bank_041_0 Jp Morgan Chase Bank N. A. 041 Chile
33 bank_043_0 Banco De La Nacion Argentina 043 Chile

View file

@ -0,0 +1,168 @@
id,l10n_cl_customs_code
base.ad,525
base.af,308
base.ag,240
base.al,518
base.am,540
base.ao,140
base.ar,224
base.at,509
base.au,406
base.aw,243
base.az,541
base.bb,204
base.bd,321
base.be,514
base.bf,161
base.bg,527
base.bi,141
base.bj,150
base.bm,244
base.bo,221
base.br,220
base.bs,207
base.bw,113
base.by,542
base.ca,226
base.cg,144
base.ch,508
base.ci,107
base.ck,427
base.cl,997
base.cn,336
base.co,202
base.cr,211
base.cu,209
base.cv,129
base.cy,305
base.de,563
base.dj,155
base.dk,507
base.dm,231
base.dz,127
base.ec,218
base.ee,549
base.eg,124
base.er,163
base.es,517
base.fi,512
base.fj,401
base.fm,417
base.fr,505
base.ga,145
base.gd,232
base.ge,550
base.gg,566
base.gh,108
base.gi,565
base.gl,253
base.gm,102
base.gn,104
base.gq,147
base.gr,520
base.gt,215
base.gu,425
base.gy,217
base.hn,214
base.hr,547
base.ht,208
base.id,328
base.ie,506
base.il,306
base.in,317
base.iq,307
base.ir,309
base.is,516
base.it,504
base.je,568
base.jm,205
base.jo,301
base.jp,331
base.ke,137
base.kh,315
base.ki,416
base.kp,334
base.kr,333
base.kw,303
base.la,316
base.li,534
base.lk,314
base.lr,106
base.ls,114
base.lt,554
base.lv,553
base.ly,125
base.ma,128
base.mc,535
base.md,556
base.me,561
base.mg,120
base.mh,164
base.ml,133
base.mn,337
base.mo,345
base.mp,424
base.mq,250
base.mr,134
base.mt,523
base.mu,119
base.mw,115
base.mx,216
base.my,329
base.mz,121
base.na,159
base.nc,423
base.ne,131
base.ng,111
base.ni,212
base.nl,515
base.no,513
base.np,320
base.nr,402
base.nu,421
base.om,304
base.pa,210
base.pe,219
base.pf,422
base.ph,335
base.pk,324
base.pl,528
base.pr,251
base.pt,501
base.py,222
base.qa,312
base.ro,519
base.rs,546
base.rw,142
base.sc,156
base.sd,123
base.se,511
base.sg,332
base.si,548
base.sl,105
base.sm,536
base.sn,101
base.so,138
base.sr,235
base.sv,213
base.sy,310
base.td,130
base.tg,109
base.tm,558
base.tt,203
base.tv,419
base.tw,330
base.tz,135
base.ua,559
base.ug,136
base.uk,510
base.us,225
base.uy,223
base.uz,560
base.vc,234
base.ve,201
base.vn,325
base.vu,415
base.za,112
base.zm,117
base.zw,116
1 id l10n_cl_customs_code
2 base.ad 525
3 base.af 308
4 base.ag 240
5 base.al 518
6 base.am 540
7 base.ao 140
8 base.ar 224
9 base.at 509
10 base.au 406
11 base.aw 243
12 base.az 541
13 base.bb 204
14 base.bd 321
15 base.be 514
16 base.bf 161
17 base.bg 527
18 base.bi 141
19 base.bj 150
20 base.bm 244
21 base.bo 221
22 base.br 220
23 base.bs 207
24 base.bw 113
25 base.by 542
26 base.ca 226
27 base.cg 144
28 base.ch 508
29 base.ci 107
30 base.ck 427
31 base.cl 997
32 base.cn 336
33 base.co 202
34 base.cr 211
35 base.cu 209
36 base.cv 129
37 base.cy 305
38 base.de 563
39 base.dj 155
40 base.dk 507
41 base.dm 231
42 base.dz 127
43 base.ec 218
44 base.ee 549
45 base.eg 124
46 base.er 163
47 base.es 517
48 base.fi 512
49 base.fj 401
50 base.fm 417
51 base.fr 505
52 base.ga 145
53 base.gd 232
54 base.ge 550
55 base.gg 566
56 base.gh 108
57 base.gi 565
58 base.gl 253
59 base.gm 102
60 base.gn 104
61 base.gq 147
62 base.gr 520
63 base.gt 215
64 base.gu 425
65 base.gy 217
66 base.hn 214
67 base.hr 547
68 base.ht 208
69 base.id 328
70 base.ie 506
71 base.il 306
72 base.in 317
73 base.iq 307
74 base.ir 309
75 base.is 516
76 base.it 504
77 base.je 568
78 base.jm 205
79 base.jo 301
80 base.jp 331
81 base.ke 137
82 base.kh 315
83 base.ki 416
84 base.kp 334
85 base.kr 333
86 base.kw 303
87 base.la 316
88 base.li 534
89 base.lk 314
90 base.lr 106
91 base.ls 114
92 base.lt 554
93 base.lv 553
94 base.ly 125
95 base.ma 128
96 base.mc 535
97 base.md 556
98 base.me 561
99 base.mg 120
100 base.mh 164
101 base.ml 133
102 base.mn 337
103 base.mo 345
104 base.mp 424
105 base.mq 250
106 base.mr 134
107 base.mt 523
108 base.mu 119
109 base.mw 115
110 base.mx 216
111 base.my 329
112 base.mz 121
113 base.na 159
114 base.nc 423
115 base.ne 131
116 base.ng 111
117 base.ni 212
118 base.nl 515
119 base.no 513
120 base.np 320
121 base.nr 402
122 base.nu 421
123 base.om 304
124 base.pa 210
125 base.pe 219
126 base.pf 422
127 base.ph 335
128 base.pk 324
129 base.pl 528
130 base.pr 251
131 base.pt 501
132 base.py 222
133 base.qa 312
134 base.ro 519
135 base.rs 546
136 base.rw 142
137 base.sc 156
138 base.sd 123
139 base.se 511
140 base.sg 332
141 base.si 548
142 base.sl 105
143 base.sm 536
144 base.sn 101
145 base.so 138
146 base.sr 235
147 base.sv 213
148 base.sy 310
149 base.td 130
150 base.tg 109
151 base.tm 558
152 base.tt 203
153 base.tv 419
154 base.tw 330
155 base.tz 135
156 base.ua 559
157 base.ug 136
158 base.uk 510
159 base.us 225
160 base.uy 223
161 base.uz 560
162 base.vc 234
163 base.ve 201
164 base.vn 325
165 base.vu 415
166 base.za 112
167 base.zm 117
168 base.zw 116

View file

@ -0,0 +1,28 @@
id,l10n_cl_currency_code,l10n_cl_short_name
base.AED,139,DIRHAM
base.ARS,1,PESO
base.AUD,36,DOLAR AUST
base.BOB,4,BOLIVIANO
base.BRL,5,CRUZEIRO REAL
base.CAD,6,DOLAR CAN
base.CHF,82,FRANCO SZ
base.CLP,200,PESO CL
base.CNY,48,RENMINBI
base.COP,129,PESO COL
base.EUR,142,EURO
base.GBP,102,LIBRA EST
base.HKD,127,DOLAR HK
base.INR,137,RUPIA
base.JPY,72,YEN
base.MXN,132,PESO MEX
base.NOK,96,CORONA NOR
base.NZD,97,DOLAR NZ
base.PEN,24,NUEVO SOL
base.PYG,23,GUARANI
base.SEK,113,CORONA SC
base.SGD,136,DOLAR SIN
base.TWD,138,DOLAR TAI
base.USD,13,DOLAR USA
base.UYU,26,PESO URUG
base.VEF,134,BOLIVAR
base.ZAR,128,RAND
1 id l10n_cl_currency_code l10n_cl_short_name
2 base.AED 139 DIRHAM
3 base.ARS 1 PESO
4 base.AUD 36 DOLAR AUST
5 base.BOB 4 BOLIVIANO
6 base.BRL 5 CRUZEIRO REAL
7 base.CAD 6 DOLAR CAN
8 base.CHF 82 FRANCO SZ
9 base.CLP 200 PESO CL
10 base.CNY 48 RENMINBI
11 base.COP 129 PESO COL
12 base.EUR 142 EURO
13 base.GBP 102 LIBRA EST
14 base.HKD 127 DOLAR HK
15 base.INR 137 RUPIA
16 base.JPY 72 YEN
17 base.MXN 132 PESO MEX
18 base.NOK 96 CORONA NOR
19 base.NZD 97 DOLAR NZ
20 base.PEN 24 NUEVO SOL
21 base.PYG 23 GUARANI
22 base.SEK 113 CORONA SC
23 base.SGD 136 DOLAR SIN
24 base.TWD 138 DOLAR TAI
25 base.USD 13 DOLAR USA
26 base.UYU 26 PESO URUG
27 base.VEF 134 BOLIVAR
28 base.ZAR 128 RAND

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="UF" model="res.currency">
<field name="name">UF</field>
<field name="symbol">UF</field>
<field name="rounding">0.01</field>
<field name="position">after</field>
<field name="currency_unit_label">Unidad de Fomento</field>
<field name="l10n_cl_short_name">Unidad de Fomento</field>
</record>
<record id="UTM" model="res.currency">
<field name="name">UTM</field>
<field name="symbol">UTM</field>
<field name="rounding">0.01</field>
<field name="position">after</field>
<field name="currency_unit_label">Unidad Tributaria Mensual</field>
<field name="l10n_cl_short_name">Unidad Tributaria Mensual</field>
</record>
<record id="OTR" model="res.currency">
<field name="name">OTR</field>
<field name="symbol">OTR</field>
<field name="rounding">1</field>
<field name="l10n_cl_currency_code">900</field>
<field name="l10n_cl_short_name">OTR</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="True">
<record model='res.partner' id='par_cfa'>
<field name='name'>Consumidor Final Anónimo</field>
<field name='l10n_cl_sii_taxpayer_type'>3</field>
<field name='l10n_latam_identification_type_id' ref='l10n_cl.it_RUT'/>
<field name='vat'>66666666-6</field>
<field name="country_id" ref="base.cl"/>
</record>
<record model='res.partner' id='par_tgr'>
<field name='name'>Tesorería General de la República</field>
<field name="company_type">company</field>
<field name='l10n_cl_sii_taxpayer_type'>1</field>
<field name='l10n_latam_identification_type_id' ref='l10n_cl.it_RUT'/>
<field name='vat'>60805000-0</field>
<field name="image_1920" type="base64" file="l10n_cl/static/tgr_logo.png"/>
<field name="country_id" ref="base.cl"/>
</record>
<record model='res.partner' id='par_sii'>
<field name='name'>Servicio de Impuestos Internos</field>
<field name="company_type">company</field>
<field name='l10n_cl_sii_taxpayer_type'>1</field>
<field name='l10n_latam_identification_type_id' ref='l10n_cl.it_RUT'/>
<field name='vat'>60803000-K</field>
<field name="image_1920" type="base64" file="l10n_cl/static/sii_logo.jpeg"/>
<field name="country_id" ref="base.cl"/>
</record>
</data>
</odoo>

View file

@ -0,0 +1,158 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="True">
<record id="uom_categ_energy" model="uom.category">
<field name="name">Energía</field>
</record>
<record id="uom_categ_others" model="uom.category">
<field name="name">Otros</field>
</record>
<record id="uom.product_uom_unit" model="uom.uom">
<field name="l10n_cl_sii_code">10</field>
</record>
<record id="uom.product_uom_dozen" model="uom.uom">
<field name="l10n_cl_sii_code">11</field>
</record>
<record id="uom.product_uom_meter" model="uom.uom">
<field name="l10n_cl_sii_code">14</field>
</record>
<record id="uom.product_uom_foot" model="uom.uom">
<field name="l10n_cl_sii_code">13</field>
</record>
<record id="uom.product_uom_kgm" model="uom.uom">
<field name="l10n_cl_sii_code">6</field>
</record>
<record id="uom.product_uom_litre" model="uom.uom">
<field name="l10n_cl_sii_code">9</field>
</record>
<record id="product_uom_sum" model="uom.uom">
<field name="l10n_cl_sii_code">0</field>
<field name="name">S.U.M</field>
<field name="category_id" ref="uom.product_uom_categ_unit"/>
<field name="uom_type">smaller</field>
</record>
<record id="product_uom_tmb" model="uom.uom">
<field name="l10n_cl_sii_code">1</field>
<field name="name">TMB</field>
<field name="category_id" ref="uom.product_uom_categ_kgm"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_u" model="uom.uom">
<field name="l10n_cl_sii_code">12</field>
<field name="name">U(JGO)</field>
<field name="category_id" ref="uom.product_uom_categ_unit"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_mt2" model="uom.uom">
<field name="l10n_cl_sii_code">15</field>
<field name="name">MT2</field>
<field name="category_id" ref="uom.uom_categ_length"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_mcub" model="uom.uom">
<field name="l10n_cl_sii_code">16</field>
<field name="name">MCUB</field>
<field name="category_id" ref="uom.product_uom_categ_vol"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_par" model="uom.uom">
<field name="l10n_cl_sii_code">17</field>
<field name="name">PAR</field>
<field name="category_id" ref="uom.product_uom_categ_unit"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_knfc" model="uom.uom">
<field name="l10n_cl_sii_code">18</field>
<field name="name">KNFC</field>
<field name="category_id" ref="uom.product_uom_categ_kgm"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_carton" model="uom.uom">
<field name="l10n_cl_sii_code">19</field>
<field name="name">CARTON</field>
<field name="category_id" ref="uom.product_uom_categ_unit"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_qmb" model="uom.uom">
<field name="l10n_cl_sii_code">2</field>
<field name="name">QMB</field>
<field name="category_id" ref="uom.product_uom_categ_kgm"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_kwh" model="uom.uom">
<field name="l10n_cl_sii_code">20</field>
<field name="name">KWH</field>
<field name="category_id" ref="uom_categ_energy"/>
</record>
<record id="product_uom_bar" model="uom.uom">
<field name="l10n_cl_sii_code">23</field>
<field name="name">BAR</field>
<field name="category_id" ref="uom.product_uom_categ_vol"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_mm" model="uom.uom">
<field name="l10n_cl_sii_code">24</field>
<field name="name">M2/1MM</field>
<field name="category_id" ref="uom.uom_categ_length"/>
<field name="uom_type">smaller</field>
</record>
<record id="product_uom_mkwh" model="uom.uom">
<field name="l10n_cl_sii_code">3</field>
<field name="name">MKWH</field>
<field name="category_id" ref="uom_categ_energy"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_tmn" model="uom.uom">
<field name="l10n_cl_sii_code">4</field>
<field name="name">TMN</field>
<field name="category_id" ref="uom.product_uom_categ_kgm"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_qnt" model="uom.uom">
<field name="l10n_cl_sii_code">5</field>
<field name="name">QNT</field>
<field name="category_id" ref="uom.product_uom_categ_kgm"/>
<field name="uom_type">bigger</field>
</record>
<record id="uom.product_uom_gram" model="uom.uom">
<field name="l10n_cl_sii_code">7</field>
<field name="uom_type">smaller</field>
</record>
<record id="product_uom_hl" model="uom.uom">
<field name="l10n_cl_sii_code">8</field>
<field name="name">HL</field>
<field name="category_id" ref="uom.product_uom_categ_vol"/>
<field name="uom_type">bigger</field>
</record>
<record id="product_uom_sum_99" model="uom.uom">
<field name="l10n_cl_sii_code">99</field>
<field name="name">S.U.M</field>
<field name="category_id" ref="uom.product_uom_categ_unit"/>
<field name="uom_type">bigger</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import account_demo

View file

@ -0,0 +1,43 @@
# -*- coding: utf-8 -*-
import logging
from odoo import api, models
_logger = logging.getLogger(__name__)
class AccountChartTemplate(models.Model):
_inherit = "account.chart.template"
@api.model
def _get_demo_data(self):
yield ('res.partner', {
'base.res_partner_12': {
'l10n_cl_sii_taxpayer_type': '4',
},
'base.res_partner_2': {
'l10n_cl_sii_taxpayer_type': '4',
},
})
yield ('l10n_latam.document.type', {
'l10n_cl.dc_fe_dte': {'active': True},
})
for model, data in super()._get_demo_data():
yield model, data
@api.model
def _get_demo_data_move(self):
ref = self.env.ref
cid = self.env.company.id
model, data = super()._get_demo_data_move()
if self.env.company.account_fiscal_country_id.code == "CL":
foreign = ref('l10n_cl.dc_fe_dte').id
self.env['account.journal'].search([
('type', '=', 'purchase'),
('company_id', '=', self.env.company.id),
]).l10n_latam_use_documents = False
data[f'{cid}_demo_invoice_1']['l10n_latam_document_type_id'] = foreign
data[f'{cid}_demo_invoice_2']['l10n_latam_document_type_id'] = foreign
data[f'{cid}_demo_invoice_3']['l10n_latam_document_type_id'] = foreign
data[f'{cid}_demo_invoice_followup']['l10n_latam_document_type_id'] = foreign
return model, data

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="partner_demo_company_cl" model="res.partner">
<field name="name">CL Company</field>
<field name="vat">CL22060449-7</field>
<field name="l10n_latam_identification_type_id" ref="l10n_cl.it_RUT"/>
<field name="l10n_cl_sii_taxpayer_type">1</field>
<field name="street">1</field>
<field name="city">Santiago</field>
<field name="country_id" ref="base.cl"/>
<field name="state_id" ref="base.state_cl_13"/>
<field name="zip"></field>
<field name="phone">+57 321 1234567</field>
<field name="email">info@company.clexample.com</field>
<field name="website">www.clexample.com</field>
</record>
<record id="demo_company_cl" model="res.company">
<field name="name">CL Company</field>
<field name="partner_id" ref="partner_demo_company_cl"/>
</record>
<function model="res.company" name="_onchange_country_id">
<value eval="[ref('demo_company_cl')]"/>
</function>
<function model="res.users" name="write">
<value eval="[ref('base.user_root'), ref('base.user_admin'), ref('base.user_demo')]"/>
<value eval="{'company_ids': [(4, ref('l10n_cl.demo_company_cl'))]}"/>
</function>
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_cl.cl_chart_template')]"/>
<value model="res.company" eval="obj().env.ref('l10n_cl.demo_company_cl')"/>
</function>
</odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View file

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_partner_bmya" model="res.partner">
<field name="name">Blanco Martin &amp; Asociados EIRL</field>
<field name="email">info@bmya.cl</field>
<field name="is_company">1</field>
<field name="city">Las Condes</field>
<field name="country_id" ref="base.cl"/>
<field name="street">Apoquindo 6410</field>
<field name="street2">Oficina 212, Santiago (RM)</field>
<field name="phone">+56 2 28400990</field>
<field name="website">http://www.bmya.cl</field>
<field name='l10n_latam_identification_type_id' ref="it_RUT"/>
<field name='l10n_cl_sii_taxpayer_type'>1</field>
<field name='vat'>76201224-3</field>
<field name="image_1920" type="base64" file="l10n_cl/demo/bmya_icon.png"/>
</record>
<record id="res_partner_bmya_dab" model="res.partner">
<field name="name">Daniel Blanco</field>
<field name="type">contact</field>
<field name='l10n_latam_identification_type_id' ref="it_RUT"/>
<field name="parent_id" ref="res_partner_bmya"/>
<field name="image_1920" type="base64" file="l10n_cl/demo/foto_dab.png"/>
</record>
<record id="res_partner_teksa" model="res.partner">
<field name="name">Andes Innovación SpA</field>
<field name="email">innovacion@andes.com</field>
<field name="is_company">1</field>
<field name="city">Los Condes</field>
<field name="country_id" ref="base.cl"/>
<field name="street">Apoquindo 6988</field>
<field name="street2">Santiago</field>
<field name="phone">+511 1111 1111</field>
<field name="website">http://www.andesinnovacion.cl</field>
<field name='l10n_latam_identification_type_id' ref="it_RUT"/>
<field name='l10n_cl_sii_taxpayer_type'>1</field>
<field name='vat'>12533840-2</field>
</record>
</odoo>

View file

@ -0,0 +1,890 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_cl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-26 14:44+0000\n"
"PO-Revision-Date: 2023-12-26 11:50-0300\n"
"Last-Translator: Daniel Blanco <daniel@blancomartin.cl>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.3.2\n"
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_res_partner__l10n_cl_sii_taxpayer_type
#: model:ir.model.fields,help:l10n_cl.field_res_users__l10n_cl_sii_taxpayer_type
msgid ""
"1 - VAT Affected (1st Category) (Most of the cases)\n"
"2 - Fees Receipt Issuer (Applies to suppliers who issue fees receipt)\n"
"3 - End consumer (only receipts)\n"
"4 - Foreigner"
msgstr ""
"1 - IVA Afecto (la mayoría de los casos)\n"
"2 - Emisor Boletas (aplica solo para proveedores emisores de boleta)\n"
"3 - Consumidor Final (se le emitirán siempre boletas)\n"
"4 - Extranjero"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
"\n"
" <strong>Customer:</strong>"
msgstr ""
"<br/>\n"
"\n"
" <strong>Cliente:</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
"\n"
" <strong>Payment Terms:</strong>"
msgstr ""
"<br/>\n"
"\n"
" <strong>Condiciones de Pago:</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid ""
"<br/>\n"
" <span style=\"font-family:arial; "
"line-height: 180%;\">RUT:</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid ""
"<br/>\n"
" <span>Nº:</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>Delivery Address:</strong>"
msgstr ""
"<br/>\n"
" <strong>Dirección de Entrega:</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>Incoterm:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>GIRO:</strong>"
msgstr ""
"<br/>\n"
" <strong>Giro:</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.report_invoice_document
msgid "<span>Disc.</span>"
msgstr "<span>Desc $</span>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>Address:</strong>"
msgstr "<strong>Dirección:</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>Due Date:</strong>"
msgstr "<strong>Fecha de vencimiento:</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "<strong>Exempt Amount</strong>"
msgstr "<strong>Monto Exento</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "<strong>Net Amount</strong>"
msgstr "<strong>Monto Neto</strong>"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "<strong>Total</strong>"
msgstr "<strong>Total</strong>"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_chart_template
msgid "Account Chart Template"
msgstr "Plantilla de Plan de Cuentas"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Accounting Date"
msgstr "Fecha contable"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__l10n_cl_active
msgid "Active in localization"
msgstr "Activo en la localización"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__l10n_cl_activity_description
#: model:ir.model.fields,field_description:l10n_cl.field_res_users__l10n_cl_activity_description
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_company_l10n_cl_form
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Activity Description"
msgstr "Descripcion de Actividad"
#. module: l10n_cl
#: model:product.template,name:l10n_cl.product_product_ad_valorem_product_template
msgid "Ad-Valorem"
msgstr "Ad-Valorem"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Amount Due"
msgstr "Monto adeudado"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Amount Untaxed"
msgstr "Monto sin impuestos"
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_account_move__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_account_payment__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_l10n_latam_document_type__internal_type
msgid ""
"Analog to odoo account.move.move_type but with more options allowing to "
"identify the kind of document we are working with. (not only related to "
"account.move, could be for documents of other models like stock.picking)"
msgstr ""
"Análogo a account.move.type de Odoo pero con más opciones, permitiendo "
"identificar el tipo de documento sobre el que estamos trabajando. (no "
"solamente relativo a account.move, podría ser relativo a otros modelos, como "
"por ejemplo stock.picking)"
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_bar
msgid "BAR"
msgstr "BAR"
#. module: l10n_cl
#: model:account.report.column,name:l10n_cl.tax_report_balance
msgid "Balance"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_bank
msgid "Bank"
msgstr "Banco"
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_imponible_ventas
msgid "Base Imponible Ventas"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_ila_compras
msgid "Base Retenciones ILA (compras)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_ila_ventas
msgid "Base Retenciones ILA (ventas)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_retencion_segunda_categ
msgid "Base Retención Segunda Categoría"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_carton
msgid "CARTON"
msgstr "CARTON"
#. module: l10n_cl
#: model_terms:product.template,description:l10n_cl.product_product_ad_valorem_product_template
msgid "Cargo para calculo de Ad-Valorem en DIN"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.res_config_settings_view_form
msgid "Chilean Localization"
msgstr "Localización Chilena"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_bank__l10n_cl_sbif_code
msgid "Cod. SBIF"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_company
msgid "Companies"
msgstr "Compañías"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_company__l10n_cl_activity_description
msgid "Company Activity Description"
msgstr "Descripcion de la actividad de la compañía"
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_netas_gr_iva_uso_comun
msgid "Compra Netas Gravadas Con IVA Uso Comun"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_activo_fijo
msgid "Compras Activo Fijo"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_activo_fijo_no_recup
msgid "Compras Activo Fijo No Recuperables"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_activo_fijo_uso_comun
msgid "Compras Activo Fijo Uso Común"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_supermercado
msgid "Compras De Supermercado"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_netas_gr_iva_no_recuperable
msgid "Compras IVA No Recuperable"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_netas_gr_iva_recup
msgid "Compras Netas Gravadas Con IVA (recuperable)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_no_gravadas_iva
msgid "Compras No Gravadas Con IVA"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_activo_fijo
msgid "Compras de Activo Fijo"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_activo_fijo_no_recup
msgid "Compras de Activo Fijo No Recuperable"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_activo_fijo_uso_comun
msgid "Compras de Activo Fijo Uso Común"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Comuna"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_partner
msgid "Contact"
msgstr "Contacto"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_country
msgid "Country"
msgstr "País"
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__credit_note
msgid "Credit Notes"
msgstr "Notas de Crédito"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_currency
msgid "Currency"
msgstr "Moneda"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__l10n_cl_currency_code
msgid "Currency Code"
msgstr "Código de moneda"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_abbreviation
msgid "Customs Abbreviation"
msgstr "Abreviatura de aduana"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_code
msgid "Customs Code"
msgstr "Código de aduana"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_name
msgid "Customs Name"
msgstr "Nombre de aduana"
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_DNI
msgid "DNI"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "Date:"
msgstr "Fecha:"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Datos adic. dirección y Ciudad"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__debit_note
msgid "Debit Notes"
msgstr "Notas de Débito"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, fuzzy, python-format
#| msgid ""
#| "Document types for foreign customers must be export type (codes 110, 111 "
#| "or 112) or you should define the customer as "
#| "an end consumer and use receipts (codes 39 or 41)"
msgid ""
"Document types for foreign customers must be export type (codes 110, 111 or "
"112) or you should define the customer as an end consumer and use receipts "
"(codes 39 or 41)"
msgstr ""
"Los tipos de documento para clientes extranjeros deben ser de exportación. "
"(Códigos 110, 111 o 112) o debe definir al cliente como consumidor final y "
"utilizar recibos (códigos 39 o 41)"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__3
#, python-format
msgid "End Consumer"
msgstr "Consumidor final"
#. module: l10n_cl
#: model:uom.category,name:l10n_cl.uom_categ_energy
msgid "Energía"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__2
#, python-format
msgid "Fees Receipt Issuer (2nd category)"
msgstr "Emisor de boleta 2da categoría"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Folio"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__4
#, python-format
msgid "Foreigner"
msgstr "Extranjero"
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_hl
msgid "HL"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_ila
msgid "ILA"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_iva_19
msgid "IVA 19%"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_iva_debito_fiscal
msgid "IVA Debito Fiscal"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_recup
msgid "IVA Pagado Compras Recuperables"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_supermercado
msgid "IVA Pagado Compras Supermercado"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_uso_comun
msgid "IVA Pagado Compras Uso Común"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_no_recup
msgid "IVA Pagado No Recuperable"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__partner_id_vat
#: model:ir.model.fields,help:l10n_cl.field_account_move__partner_id_vat
#: model:ir.model.fields,help:l10n_cl.field_account_payment__partner_id_vat
msgid "Identification Number for selected type"
msgstr "Número de identificación para el tipo seleccionado"
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_impuestos_originados_venta
msgid "Impuesto Originado por la Venta"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_tax_ila_ventas
msgid "Impuesto Ret Practicadas ILA (ventas)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_tax_ila_compras
msgid "Impuesto Ret Sufrida ILA (compras)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_impuestos_renta
msgid "Impuesto a la Renta Primera Categoría a Pagar"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_impuestos_especificos
msgid "Impuestos Específicos"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_impuestos_pagados_compra
msgid "Impuestos Pagados en la Compra"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__internal_type
msgid "Internal Type"
msgstr "Tipo interno"
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__invoice
msgid "Invoices"
msgstr "Facturas"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Invoices and Refunds"
msgstr "Facturas y notas de crédito"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_move
msgid "Journal Entry"
msgstr "Asiento contable"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_move_line
msgid "Journal Item"
msgstr "Item del Diario"
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_knfc
msgid "KNFC"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_kwh
msgid "KWH"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__l10n_latam_internal_type
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__l10n_latam_internal_type
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__l10n_latam_internal_type
msgid "L10n Latam Internal Type"
msgstr "L10n Tipo Interno (Latam)"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_l10n_latam_document_type
msgid "Latam Document Type"
msgstr "Tipo Documento (LA)"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid "Logo"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mm
msgid "M2/1MM"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mcub
msgid "MCUB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mkwh
msgid "MKWH"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mt2
msgid "MT2"
msgstr ""
#. module: l10n_cl
#: model:uom.category,name:l10n_cl.uom_categ_others
msgid "Otros"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_par
msgid "PAR"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_ppm
msgid "PPM"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_uom_uom
msgid "Product Unit of Measure"
msgstr "Unidad de medida del producto"
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__invoice_in
msgid "Purchase Invoices"
msgstr "Facturas de proveedores"
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_qmb
msgid "QMB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_qnt
msgid "QNT"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_RUN
msgid "RUN"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_RUT
msgid "RUT"
msgstr "RUT"
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__receipt_invoice
msgid "Receipt Invoice"
msgstr "Boleta"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Región"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_retenciones
msgid "Retenciones"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_retencion_segunda_categ
msgid "Retención Segunda Categoría"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_retencion_total_compras
msgid "Retención Total (compras)"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_2da_categ
msgid "Retención de 2da Categoría"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_sum
#: model:uom.uom,name:l10n_cl.product_uom_sum_99
msgid "S.U.M"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax__l10n_cl_sii_code
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax_template__l10n_cl_sii_code
#: model:ir.model.fields,field_description:l10n_cl.field_uom_uom__l10n_cl_sii_code
msgid "SII Code"
msgstr "Código SII"
#. module: l10n_cl
#: model:ir.actions.act_window,name:l10n_cl.sale_invoices_credit_notes
msgid "Sale Invoices and Credit Notes"
msgstr "Facturas de Venta y Notas de Crédito"
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.menu_sale_invoices_credit_notes
msgid "Sale Invoices and Credit Notes (CL)"
msgstr "Facturas de Vta y Notas de Crédito (CL)"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Sales Person"
msgstr "Comercial"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__l10n_cl_short_name
msgid "Short Name"
msgstr "Nombre corto"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Source Document"
msgstr "Documento origen"
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__stock_picking
msgid "Stock Delivery"
msgstr "Entrega de Inventario"
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_tmb
msgid "TMB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_tmn
msgid "TMN"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_tax
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Tax"
msgstr "Impuesto"
#. module: l10n_cl
#: model:account.report,name:l10n_cl.tax_report
msgid "Tax Report"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"Tax payer type and vat number are mandatory for this type of document. "
"Please set the current tax payer type of this customer"
msgstr ""
"El tipo de contribuyente y el número de RUT son requeridos para este tipo de "
"documento. Por favor establezca un valor para el tipo de contribuyente de "
"este Cliente"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"Tax payer type and vat number are mandatory for this type of document. "
"Please set the current tax payer type of this supplier"
msgstr ""
"El tipo de contribuyente y el número de RUT son requeridos para este tipo de "
"documento. Por favor establezca un valor para el tipo de contribuyente de "
"este Proveedor"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__l10n_cl_sii_taxpayer_type
#: model:ir.model.fields,field_description:l10n_cl.field_res_users__l10n_cl_sii_taxpayer_type
msgid "Taxpayer Type"
msgstr "Tipo de Contribuyente"
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_tax_template
msgid "Templates for Taxes"
msgstr "Plantilla de impuestos"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The DIN document is intended to be used only with RUT 60805000-0 (Tesorería "
"General de La República)"
msgstr ""
"El documento “declaración de ingreso” (DIN) debe ser usado solamente para "
"“Tesorería General de La República” (RUT 60805000-0)"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.report_invoice_document
msgid "The VAT tax of this boleta is:"
msgstr "El IVA de esta boleta es:"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The tax payer type of this supplier is incorrect for the selected type of "
"document."
msgstr ""
"El tipo de contribuyente de este proveedor es incorrecto para el tipo de "
"documento seleccionado."
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The tax payer type of this supplier is not entitled to deliver fees documents"
msgstr ""
"El tipo de contribuyente para este proveedor no puede emitir boletas de "
"honorarios"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The tax payer type of this supplier is not entitled to deliver imports "
"documents"
msgstr ""
"El tipo de contribuyente para este proveedor no puede emitir documentos de "
"importación"
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_l10n_latam_document_type__l10n_cl_active
msgid "This boolean enables document to be included on invoicing"
msgstr "Este check habilita que el documento sea incluido en la factura"
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Total"
msgstr "Total"
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_u
msgid "U(JGO)"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "VAT"
msgstr "IVA"
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__1
#, python-format
msgid "VAT Affected (1st Category)"
msgstr "IVA afecto 1ª categoría"
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__partner_id_vat
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__partner_id_vat
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__partner_id_vat
msgid "VAT No"
msgstr "RUT Nº"
#. module: l10n_cl
#: model:ir.actions.act_window,name:l10n_cl.vendor_bills_and_refunds
msgid "Vendor Bills and Refunds"
msgstr "Facturas y Notas de Créd de Proveedores"
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.menu_vendor_bills_and_refunds
msgid "Vendor Bills and Refunds (CL)"
msgstr "Facturas de Proveedor y Notas de Crédito (CL)"
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_ventas_exentas
msgid "Ventas Exentas"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_ventas_netas_gravadas_c_iva
msgid "Ventas Netas Gravadas con IVA"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "You need a journal without the use of documents for foreign suppliers"
msgstr ""
"Ud. necesita un diario que no use documentos para registrar facturas de "
"proveedores extranjeros"
#~ msgid ""
#~ "<span groups=\"account.group_show_line_subtotals_tax_included\">Amount</"
#~ "span>"
#~ msgstr ""
#~ "<span groups=\"account.group_show_line_subtotals_tax_included\">Monto</"
#~ "span>"
#, python-format
#~ msgid "Exempt Amount"
#~ msgstr "Monto Exento"
#, python-format
#~ msgid "Untaxed Amount"
#~ msgstr "Base imponible"
#~ msgid "<strong>Payment Terms:</strong>"
#~ msgstr "<strong>Plazos de pago:</strong>"
#~ msgid "Code used by different localizations"
#~ msgstr "Código usado por diferentes localizaciones"
#~ msgid "Display Name"
#~ msgstr "Nombre mostrado"
#~ msgid "Doc Type"
#~ msgstr "T.doc"
#~ msgid "ID"
#~ msgstr "ID (identificación)"
#~ msgid "Journals"
#~ msgstr "Diarios"
#~ msgid "Last Modified on"
#~ msgstr "Última modificación en"
#~ msgid "Sequence"
#~ msgstr "Secuencia"
#~ msgid "Tax Payer Type"
#~ msgstr "Tipo de Contribuyente"

View file

@ -0,0 +1,630 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_cl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-14 12:18+0000\n"
"PO-Revision-Date: 2021-01-14 12:18+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_cl
#: model:ir.model.fields,help:l10n_cl.field_res_partner__l10n_cl_sii_taxpayer_type
#: model:ir.model.fields,help:l10n_cl.field_res_users__l10n_cl_sii_taxpayer_type
msgid ""
"1 - VAT Affected (1st Category) (Most of the cases)\n"
"2 - Fees Receipt Issuer (Applies to suppliers who issue fees receipt)\n"
"3 - End consumer (only receipts)\n"
"4 - Foreigner"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
"\n"
" <strong>Customer:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid ""
"<br/>\n"
" <span style=\"line-height: 180%;\">RUT:</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid ""
"<br/>\n"
" <span>Nº:</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>Incoterm:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>Address:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.report_invoice_document
msgid "<span>Taxes</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>Due Date:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>GIRO:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>Payment Terms:</strong>"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_chart_template
msgid "Account Chart Template"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Accounting Date"
msgstr ""
#. module: l10n_cl
#: model:product.product,name:l10n_cl.product_product_ad_valorem
#: model:product.template,name:l10n_cl.product_product_ad_valorem_product_template
msgid "Ad-Valorem"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Amount Due"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Amount Untaxed"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_account_move__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_account_payment__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_l10n_latam_document_type__internal_type
msgid "Analog to odoo account.move.move_type but with more options allowing to identify the kind of document we are working with. (not only related to account.move, could be for documents of other models like stock.picking)"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_bar
msgid "BAR"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_bank
msgid "Bank"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_carton
msgid "CARTON"
msgstr ""
#. module: l10n_cl
#: model:product.product,description:l10n_cl.product_product_ad_valorem
#: model:product.template,description:l10n_cl.product_product_ad_valorem_product_template
msgid "Cargo para calculo de Ad-Valorem en DIN"
msgstr ""
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.account_reports_cl_statements_menu
msgid "Chile"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.res_config_settings_view_form
msgid "Chilean Localization"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_bank__l10n_cl_sbif_code
msgid "Cod. SBIF"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__l10n_latam_document_type_id_code
#: model:ir.model.fields,help:l10n_cl.field_account_move__l10n_latam_document_type_id_code
#: model:ir.model.fields,help:l10n_cl.field_account_payment__l10n_latam_document_type_id_code
msgid "Code used by different localizations"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_company
msgid "Companies"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_partner
msgid "Contact"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_country
msgid "Country"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__credit_note
msgid "Credit Notes"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_currency
msgid "Currency"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__l10n_cl_currency_code
msgid "Currency Code"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_abbreviation
msgid "Customs Abbreviation"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_code
msgid "Customs Code"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_name
msgid "Customs Name"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_DNI
msgid "DNI"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "Date:"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Datos adic. dirección y Ciudad"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__debit_note
msgid "Debit Notes"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_chart_template__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_account_journal__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax_template__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_ir_sequence__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_res_bank__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_res_company__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__display_name
#: model:ir.model.fields,field_description:l10n_cl.field_uom_uom__display_name
msgid "Display Name"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__l10n_latam_document_type_id_code
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__l10n_latam_document_type_id_code
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__l10n_latam_document_type_id_code
msgid "Doc Type"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "Document types for foreign customers must be export type (codes 110, 111 or 112) or you should define the customer as an end consumer and use receipts (codes 39 or 41)"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__3
#, python-format
msgid "End Consumer"
msgstr ""
#. module: l10n_cl
#: model:uom.category,name:l10n_cl.uom_categ_energy
msgid "Energía"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__2
#, python-format
msgid "Fees Receipt Issuer (2nd category)"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__4
#, python-format
msgid "Foreigner"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_hl
msgid "HL"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_chart_template__id
#: model:ir.model.fields,field_description:l10n_cl.field_account_journal__id
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__id
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax__id
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax_template__id
#: model:ir.model.fields,field_description:l10n_cl.field_ir_sequence__id
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__id
#: model:ir.model.fields,field_description:l10n_cl.field_res_bank__id
#: model:ir.model.fields,field_description:l10n_cl.field_res_company__id
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__id
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__id
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__id
#: model:ir.model.fields,field_description:l10n_cl.field_uom_uom__id
msgid "ID"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_ila
msgid "ILA"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_iva_19
msgid "IVA 19%"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__partner_id_vat
#: model:ir.model.fields,help:l10n_cl.field_account_move__partner_id_vat
#: model:ir.model.fields,help:l10n_cl.field_account_payment__partner_id_vat
msgid "Identification Number for selected type"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_impuestos_especificos
msgid "Impuestos Específicos"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__internal_type
msgid "Internal Type"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__invoice
msgid "Invoices"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Invoices and Refunds"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_journal
msgid "Journal"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_move
msgid "Journal Entry"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_ir_sequence__l10n_cl_journal_ids
msgid "Journals"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_knfc
msgid "KNFC"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_kwh
msgid "KWH"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__l10n_latam_internal_type
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__l10n_latam_internal_type
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__l10n_latam_internal_type
msgid "L10n Latam Internal Type"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_chart_template____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_account_journal____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_account_move____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax_template____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_ir_sequence____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_res_bank____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_res_company____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_res_country____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner____last_update
#: model:ir.model.fields,field_description:l10n_cl.field_uom_uom____last_update
msgid "Last Modified on"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_l10n_latam_document_type
msgid "Latam Document Type"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid "Logo"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mm
msgid "M2/1MM"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mcub
msgid "MCUB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mkwh
msgid "MKWH"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mt2
msgid "MT2"
msgstr ""
#. module: l10n_cl
#: model:uom.category,name:l10n_cl.uom_categ_others
msgid "Otros"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_par
msgid "PAR"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_uom_uom
msgid "Product Unit of Measure"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__invoice_in
msgid "Purchase Invoices"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_qmb
msgid "QMB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_qnt
msgid "QNT"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_RUN
msgid "RUN"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_RUT
msgid "RUT"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__receipt_invoice
msgid "Receipt Invoice"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Región"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_retenciones
msgid "Retenciones"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_2da_categ
msgid "Retención de 2da Categoría"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_sum
#: model:uom.uom,name:l10n_cl.product_uom_sum_99
msgid "S.U.M"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax__l10n_cl_sii_code
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax_template__l10n_cl_sii_code
#: model:ir.model.fields,field_description:l10n_cl.field_uom_uom__l10n_cl_sii_code
msgid "SII Code"
msgstr ""
#. module: l10n_cl
#: model:ir.actions.act_window,name:l10n_cl.sale_invoices_credit_notes
msgid "Sale Invoices and Credit Notes"
msgstr ""
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.menu_sale_invoices_credit_notes
msgid "Sale Invoices and Credit Notes (CL)"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Sales Person"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_ir_sequence
msgid "Sequence"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__l10n_cl_short_name
msgid "Short Name"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Source Document"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_tmb
msgid "TMB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_tmn
msgid "TMN"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_tax
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Tax"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Tax Payer Type"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "Tax payer type and vat number are mandatory for this type of document. Please set the current tax payer type of this customer"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "Tax payer type and vat number are mandatory for this type of document. Please set the current tax payer type of this supplier"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__l10n_cl_sii_taxpayer_type
#: model:ir.model.fields,field_description:l10n_cl.field_res_users__l10n_cl_sii_taxpayer_type
msgid "Taxpayer Type"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_tax_template
msgid "Templates for Taxes"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "The DIN document is intended to be used only with RUT 60805000-0 (Tesorería General de La República)"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "The tax payer type of this supplier is incorrect for the selected type of document."
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "The tax payer type of this supplier is not entitled to deliver fees documents"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "The tax payer type of this supplier is not entitled to deliver imports documents"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Total"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_u
msgid "U(JGO)"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__1
#, python-format
msgid "VAT Affected (1st Category)"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__partner_id_vat
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__partner_id_vat
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__partner_id_vat
msgid "VAT No"
msgstr ""
#. module: l10n_cl
#: model:ir.actions.act_window,name:l10n_cl.vendor_bills_and_refunds
msgid "Vendor Bills and Refunds"
msgstr ""
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.menu_vendor_bills_and_refunds
msgid "Vendor Bills and Refunds (CL)"
msgstr ""
#. module: l10n_cl
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "You need a journal without the use of documents for foreign suppliers"
msgstr ""

View file

@ -0,0 +1,805 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_cl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-26 14:44+0000\n"
"PO-Revision-Date: 2023-12-26 14:44+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_cl
#: model:ir.model.fields,help:l10n_cl.field_res_partner__l10n_cl_sii_taxpayer_type
#: model:ir.model.fields,help:l10n_cl.field_res_users__l10n_cl_sii_taxpayer_type
msgid ""
"1 - VAT Affected (1st Category) (Most of the cases)\n"
"2 - Fees Receipt Issuer (Applies to suppliers who issue fees receipt)\n"
"3 - End consumer (only receipts)\n"
"4 - Foreigner"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
"\n"
" <strong>Customer:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
"\n"
" <strong>Payment Terms:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid ""
"<br/>\n"
" <span style=\"font-family:arial; line-height: 180%;\">RUT:</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid ""
"<br/>\n"
" <span>Nº:</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>Delivery Address:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>Incoterm:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid ""
"<br/>\n"
" <strong>GIRO:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.report_invoice_document
msgid "<span>Disc.</span>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>Address:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "<strong>Due Date:</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "<strong>Exempt Amount</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "<strong>Net Amount</strong>"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "<strong>Total</strong>"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_chart_template
msgid "Account Chart Template"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Accounting Date"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__l10n_cl_active
msgid "Active in localization"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__l10n_cl_activity_description
#: model:ir.model.fields,field_description:l10n_cl.field_res_users__l10n_cl_activity_description
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_company_l10n_cl_form
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Activity Description"
msgstr ""
#. module: l10n_cl
#: model:product.template,name:l10n_cl.product_product_ad_valorem_product_template
msgid "Ad-Valorem"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Amount Due"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Amount Untaxed"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_account_move__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_account_payment__l10n_latam_internal_type
#: model:ir.model.fields,help:l10n_cl.field_l10n_latam_document_type__internal_type
msgid ""
"Analog to odoo account.move.move_type but with more options allowing to "
"identify the kind of document we are working with. (not only related to "
"account.move, could be for documents of other models like stock.picking)"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_bar
msgid "BAR"
msgstr ""
#. module: l10n_cl
#: model:account.report.column,name:l10n_cl.tax_report_balance
msgid "Balance"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_bank
msgid "Bank"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_imponible_ventas
msgid "Base Imponible Ventas"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_ila_compras
msgid "Base Retenciones ILA (compras)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_ila_ventas
msgid "Base Retenciones ILA (ventas)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_base_retencion_segunda_categ
msgid "Base Retención Segunda Categoría"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_carton
msgid "CARTON"
msgstr ""
#. module: l10n_cl
#: model_terms:product.template,description:l10n_cl.product_product_ad_valorem_product_template
msgid "Cargo para calculo de Ad-Valorem en DIN"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.res_config_settings_view_form
msgid "Chilean Localization"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_bank__l10n_cl_sbif_code
msgid "Cod. SBIF"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_company
msgid "Companies"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_company__l10n_cl_activity_description
msgid "Company Activity Description"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_netas_gr_iva_uso_comun
msgid "Compra Netas Gravadas Con IVA Uso Comun"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_activo_fijo
msgid "Compras Activo Fijo"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_activo_fijo_no_recup
msgid "Compras Activo Fijo No Recuperables"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_activo_fijo_uso_comun
msgid "Compras Activo Fijo Uso Común"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_supermercado
msgid "Compras De Supermercado"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_netas_gr_iva_no_recuperable
msgid "Compras IVA No Recuperable"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_netas_gr_iva_recup
msgid "Compras Netas Gravadas Con IVA (recuperable)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_no_gravadas_iva
msgid "Compras No Gravadas Con IVA"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_activo_fijo
msgid "Compras de Activo Fijo"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_activo_fijo_no_recup
msgid "Compras de Activo Fijo No Recuperable"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_activo_fijo_uso_comun
msgid "Compras de Activo Fijo Uso Común"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Comuna"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_partner
msgid "Contact"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_country
msgid "Country"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__credit_note
msgid "Credit Notes"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_res_currency
msgid "Currency"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__l10n_cl_currency_code
msgid "Currency Code"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_abbreviation
msgid "Customs Abbreviation"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_code
msgid "Customs Code"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_country__l10n_cl_customs_name
msgid "Customs Name"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_DNI
msgid "DNI"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.informations
msgid "Date:"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Datos adic. dirección y Ciudad"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__debit_note
msgid "Debit Notes"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"Document types for foreign customers must be export type (codes 110, 111 or "
"112) or you should define the customer as an end consumer and use receipts "
"(codes 39 or 41)"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__3
#, python-format
msgid "End Consumer"
msgstr ""
#. module: l10n_cl
#: model:uom.category,name:l10n_cl.uom_categ_energy
msgid "Energía"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__2
#, python-format
msgid "Fees Receipt Issuer (2nd category)"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Folio"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__4
#, python-format
msgid "Foreigner"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_hl
msgid "HL"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_ila
msgid "ILA"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_iva_19
msgid "IVA 19%"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_iva_debito_fiscal
msgid "IVA Debito Fiscal"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_recup
msgid "IVA Pagado Compras Recuperables"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_supermercado
msgid "IVA Pagado Compras Supermercado"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_uso_comun
msgid "IVA Pagado Compras Uso Común"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_compras_iva_no_recup
msgid "IVA Pagado No Recuperable"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_account_bank_statement_line__partner_id_vat
#: model:ir.model.fields,help:l10n_cl.field_account_move__partner_id_vat
#: model:ir.model.fields,help:l10n_cl.field_account_payment__partner_id_vat
msgid "Identification Number for selected type"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_impuestos_originados_venta
msgid "Impuesto Originado por la Venta"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_tax_ila_ventas
msgid "Impuesto Ret Practicadas ILA (ventas)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_tax_ila_compras
msgid "Impuesto Ret Sufrida ILA (compras)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_impuestos_renta
msgid "Impuesto a la Renta Primera Categoría a Pagar"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_impuestos_especificos
msgid "Impuestos Específicos"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_impuestos_pagados_compra
msgid "Impuestos Pagados en la Compra"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_l10n_latam_document_type__internal_type
msgid "Internal Type"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__invoice
msgid "Invoices"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Invoices and Refunds"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_move
msgid "Journal Entry"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_knfc
msgid "KNFC"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_kwh
msgid "KWH"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__l10n_latam_internal_type
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__l10n_latam_internal_type
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__l10n_latam_internal_type
msgid "L10n Latam Internal Type"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_l10n_latam_document_type
msgid "Latam Document Type"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.custom_header
msgid "Logo"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mm
msgid "M2/1MM"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mcub
msgid "MCUB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mkwh
msgid "MKWH"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_mt2
msgid "MT2"
msgstr ""
#. module: l10n_cl
#: model:uom.category,name:l10n_cl.uom_categ_others
msgid "Otros"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_par
msgid "PAR"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_ppm
msgid "PPM"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_uom_uom
msgid "Product Unit of Measure"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__invoice_in
msgid "Purchase Invoices"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_qmb
msgid "QMB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_qnt
msgid "QNT"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_RUN
msgid "RUN"
msgstr ""
#. module: l10n_cl
#: model:l10n_latam.identification.type,name:l10n_cl.it_RUT
msgid "RUT"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__receipt_invoice
msgid "Receipt Invoice"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_move_form
msgid "Región"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_retenciones
msgid "Retenciones"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_retencion_segunda_categ
msgid "Retención Segunda Categoría"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_retencion_total_compras
msgid "Retención Total (compras)"
msgstr ""
#. module: l10n_cl
#: model:account.tax.group,name:l10n_cl.tax_group_2da_categ
msgid "Retención de 2da Categoría"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_sum
#: model:uom.uom,name:l10n_cl.product_uom_sum_99
msgid "S.U.M"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax__l10n_cl_sii_code
#: model:ir.model.fields,field_description:l10n_cl.field_account_tax_template__l10n_cl_sii_code
#: model:ir.model.fields,field_description:l10n_cl.field_uom_uom__l10n_cl_sii_code
msgid "SII Code"
msgstr ""
#. module: l10n_cl
#: model:ir.actions.act_window,name:l10n_cl.sale_invoices_credit_notes
msgid "Sale Invoices and Credit Notes"
msgstr ""
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.menu_sale_invoices_credit_notes
msgid "Sale Invoices and Credit Notes (CL)"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Sales Person"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_currency__l10n_cl_short_name
msgid "Short Name"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Source Document"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields.selection,name:l10n_cl.selection__l10n_latam_document_type__internal_type__stock_picking
msgid "Stock Delivery"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_tmb
msgid "TMB"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_tmn
msgid "TMN"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_tax
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Tax"
msgstr ""
#. module: l10n_cl
#: model:account.report,name:l10n_cl.tax_report
msgid "Tax Report"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"Tax payer type and vat number are mandatory for this type of document. "
"Please set the current tax payer type of this customer"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"Tax payer type and vat number are mandatory for this type of document. "
"Please set the current tax payer type of this supplier"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_res_partner__l10n_cl_sii_taxpayer_type
#: model:ir.model.fields,field_description:l10n_cl.field_res_users__l10n_cl_sii_taxpayer_type
msgid "Taxpayer Type"
msgstr ""
#. module: l10n_cl
#: model:ir.model,name:l10n_cl.model_account_tax_template
msgid "Templates for Taxes"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The DIN document is intended to be used only with RUT 60805000-0 (Tesorería "
"General de La República)"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.report_invoice_document
msgid "The VAT tax of this boleta is:"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The tax payer type of this supplier is incorrect for the selected type of "
"document."
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The tax payer type of this supplier is not entitled to deliver fees "
"documents"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid ""
"The tax payer type of this supplier is not entitled to deliver imports "
"documents"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,help:l10n_cl.field_l10n_latam_document_type__l10n_cl_active
msgid "This boolean enables document to be included on invoicing"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.view_complete_invoice_refund_tree
msgid "Total"
msgstr ""
#. module: l10n_cl
#: model:uom.uom,name:l10n_cl.product_uom_u
msgid "U(JGO)"
msgstr ""
#. module: l10n_cl
#: model_terms:ir.ui.view,arch_db:l10n_cl.tax_totals_widget
msgid "VAT"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/res_partner.py:0
#: model:ir.model.fields.selection,name:l10n_cl.selection__res_partner__l10n_cl_sii_taxpayer_type__1
#, python-format
msgid "VAT Affected (1st Category)"
msgstr ""
#. module: l10n_cl
#: model:ir.model.fields,field_description:l10n_cl.field_account_bank_statement_line__partner_id_vat
#: model:ir.model.fields,field_description:l10n_cl.field_account_move__partner_id_vat
#: model:ir.model.fields,field_description:l10n_cl.field_account_payment__partner_id_vat
msgid "VAT No"
msgstr ""
#. module: l10n_cl
#: model:ir.actions.act_window,name:l10n_cl.vendor_bills_and_refunds
msgid "Vendor Bills and Refunds"
msgstr ""
#. module: l10n_cl
#: model:ir.ui.menu,name:l10n_cl.menu_vendor_bills_and_refunds
msgid "Vendor Bills and Refunds (CL)"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_ventas_exentas
msgid "Ventas Exentas"
msgstr ""
#. module: l10n_cl
#: model:account.report.line,name:l10n_cl.tax_report_ventas_netas_gravadas_c_iva
msgid "Ventas Netas Gravadas con IVA"
msgstr ""
#. module: l10n_cl
#. odoo-python
#: code:addons/l10n_cl/models/account_move.py:0
#, python-format
msgid "You need a journal without the use of documents for foreign suppliers"
msgstr ""

View file

@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import account_chart_template
from . import account_move
from . import account_move_line
from . import account_tax
from . import l10n_latam_document_type
from . import res_company
from . import res_country
from . import res_currency
from . import res_partner
from . import res_partner_bank
from . import uom_uom

View file

@ -0,0 +1,15 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
from odoo.http import request
class AccountChartTemplate(models.Model):
_inherit = 'account.chart.template'
def _load(self, company):
""" Set tax calculation rounding method required in Chilean localization"""
res = super()._load(company)
if company.account_fiscal_country_id.code == 'CL':
company.write({'tax_calculation_rounding_method': 'round_globally'})
return res

View file

@ -0,0 +1,280 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.exceptions import ValidationError
from odoo import models, fields, api, _
from odoo.tools.misc import formatLang
from odoo.tools.float_utils import float_repr, float_round
SII_VAT = '60805000-0'
class AccountMove(models.Model):
_inherit = "account.move"
partner_id_vat = fields.Char(related='partner_id.vat', string='VAT No')
l10n_latam_internal_type = fields.Selection(
related='l10n_latam_document_type_id.internal_type', string='L10n Latam Internal Type')
def _get_l10n_latam_documents_domain(self):
self.ensure_one()
if self.journal_id.company_id.account_fiscal_country_id != self.env.ref('base.cl') or not \
self.journal_id.l10n_latam_use_documents:
return super()._get_l10n_latam_documents_domain()
if self.journal_id.type == 'sale':
domain = [('country_id.code', '=', 'CL')]
if self.move_type in ['in_invoice', 'out_invoice']:
domain += [('internal_type', 'in', ['invoice', 'debit_note', 'invoice_in'])]
elif self.move_type in ['in_refund', 'out_refund']:
domain += [('internal_type', '=', 'credit_note')]
if self.company_id.partner_id.l10n_cl_sii_taxpayer_type == '1':
domain += [('code', '!=', '71')] # Companies with VAT Affected doesn't have "Boleta de honorarios Electrónica"
return domain
if self.move_type == 'in_refund':
internal_types_domain = ('internal_type', '=', 'credit_note')
else:
internal_types_domain = ('internal_type', 'in', ['invoice', 'debit_note', 'invoice_in'])
domain = [
('country_id.code', '=', 'CL'),
internal_types_domain,
]
if self.partner_id.l10n_cl_sii_taxpayer_type == '1' and self.partner_id_vat != '60805000-0':
domain += [('code', 'not in', ['39', '70', '71', '914', '911'])]
elif self.partner_id.l10n_cl_sii_taxpayer_type == '1' and self.partner_id_vat == '60805000-0':
domain += [('code', 'not in', ['39', '70', '71'])]
elif self.partner_id.l10n_cl_sii_taxpayer_type == '2':
domain += [('code', '=', '71')]
elif self.partner_id.l10n_cl_sii_taxpayer_type == '3':
domain += [('code', 'in', ['35', '38', '39', '41', '56', '61'])]
elif self.partner_id.country_id.code != 'CL' or self.partner_id.l10n_cl_sii_taxpayer_type == '4':
domain += [('code', '=', '46')]
else:
domain += [('code', 'in', [])]
return domain
def _check_document_types_post(self):
for rec in self.filtered(
lambda r: r.company_id.account_fiscal_country_id.code == "CL" and
r.journal_id.type in ['sale', 'purchase']):
tax_payer_type = rec.partner_id.l10n_cl_sii_taxpayer_type
vat = rec.partner_id.vat
country_id = rec.partner_id.country_id
latam_document_type_code = rec.l10n_latam_document_type_id.code
if (rec.journal_id.type == 'purchase' and tax_payer_type == '4' and country_id.code != 'CL' and
latam_document_type_code == '61' and
'46' in rec.l10n_cl_reference_ids.mapped('l10n_cl_reference_doc_type_selection')):
continue
if (not tax_payer_type or not vat) and (country_id.code == "CL" and latam_document_type_code
and latam_document_type_code not in ['35', '38', '39', '41']):
raise ValidationError(_('Tax payer type and vat number are mandatory for this type of '
'document. Please set the current tax payer type of this customer'))
if rec.journal_id.type == 'sale' and rec.journal_id.l10n_latam_use_documents:
if country_id.code != "CL":
if not ((tax_payer_type == '4' and latam_document_type_code in ['110', '111', '112']) or (
tax_payer_type == '3' and latam_document_type_code in ['39', '41', '61', '56'])):
raise ValidationError(_(
'Document types for foreign customers must be export type (codes 110, 111 or 112) or you should define the customer as an end consumer and use receipts (codes 39 or 41)'))
if rec.journal_id.type == 'purchase' and rec.journal_id.l10n_latam_use_documents:
if vat != SII_VAT and latam_document_type_code == '914':
raise ValidationError(_('The DIN document is intended to be used only with RUT 60805000-0'
' (Tesorería General de La República)'))
if not tax_payer_type or not vat:
if country_id.code == "CL" and latam_document_type_code not in [
'35', '38', '39', '41']:
raise ValidationError(_('Tax payer type and vat number are mandatory for this type of '
'document. Please set the current tax payer type of this supplier'))
if tax_payer_type == '2' and latam_document_type_code not in ['70', '71', '56', '61']:
raise ValidationError(_('The tax payer type of this supplier is incorrect for the selected type'
' of document.'))
if tax_payer_type in ['1', '3']:
if latam_document_type_code in ['70', '71']:
raise ValidationError(_('The tax payer type of this supplier is not entitled to deliver '
'fees documents'))
if latam_document_type_code in ['110', '111', '112']:
raise ValidationError(_('The tax payer type of this supplier is not entitled to deliver '
'imports documents'))
if (tax_payer_type == '4' or country_id.code != "CL") and latam_document_type_code != '46':
raise ValidationError(_('You need a journal without the use of documents for foreign '
'suppliers'))
@api.onchange('journal_id')
def _l10n_cl_onchange_journal(self):
if self.company_id.country_id.code == 'CL':
self.l10n_latam_document_type_id = False
def _post(self, soft=True):
self._check_document_types_post()
return super()._post(soft)
def _l10n_cl_get_formatted_sequence(self, number=0):
return '%s %06d' % (self.l10n_latam_document_type_id.doc_code_prefix, number)
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 6 padding number """
if self.journal_id.l10n_latam_use_documents and self.company_id.account_fiscal_country_id.code == "CL":
if self.l10n_latam_document_type_id:
return self._l10n_cl_get_formatted_sequence()
return super()._get_starting_sequence()
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 == "CL" and self.l10n_latam_use_documents:
where_string = where_string.replace('journal_id = %(journal_id)s AND', '')
where_string += ' AND l10n_latam_document_type_id = %(l10n_latam_document_type_id)s AND ' \
'company_id = %(company_id)s AND move_type IN %(move_type)s'
param['company_id'] = self.company_id.id or False
param['l10n_latam_document_type_id'] = self.l10n_latam_document_type_id.id or 0
param['move_type'] = (('in_invoice', 'in_refund') if
self.l10n_latam_document_type_id._is_doc_type_vendor() else ('out_invoice', 'out_refund'))
return where_string, param
def _get_name_invoice_report(self):
self.ensure_one()
if self.l10n_latam_use_documents and self.company_id.account_fiscal_country_id.code == 'CL':
return 'l10n_cl.report_invoice_document'
return super()._get_name_invoice_report()
def _format_lang_totals(self, value, currency):
return formatLang(self.env, value, currency_obj=currency)
def _l10n_cl_get_invoice_totals_for_report(self):
self.ensure_one()
include_sii = self._l10n_cl_include_sii()
base_lines = self.line_ids.filtered(lambda x: x.display_type == 'product')
tax_lines = self.line_ids.filtered(lambda x: x.display_type == 'tax')
base_line_vals_list = [x._convert_to_tax_base_line_dict() for x in base_lines]
if include_sii:
for vals in base_line_vals_list:
vals['taxes'] = vals['taxes'].flatten_taxes_hierarchy().filtered(lambda tax: tax.l10n_cl_sii_code != 14)
tax_line_vals_list = [x._convert_to_tax_line_dict() for x in tax_lines]
if include_sii:
tax_line_vals_list = [x for x in tax_line_vals_list if x['tax_repartition_line'].tax_id.l10n_cl_sii_code != 14]
tax_totals = self.env['account.tax']._prepare_tax_totals(
base_line_vals_list,
self.currency_id,
tax_lines=tax_line_vals_list,
)
if include_sii:
tax_totals['amount_total'] = self.amount_total
tax_totals['amount_untaxed'] = self.currency_id.round(
tax_totals['amount_total'] - sum([x['tax_amount'] for x in tax_line_vals_list if 'tax_amount' in x]))
tax_totals['formatted_amount_total'] = formatLang(self.env, tax_totals['amount_total'], currency_obj=self.currency_id)
tax_totals['formatted_amount_untaxed'] = formatLang(self.env, tax_totals['amount_untaxed'], currency_obj=self.currency_id)
if tax_totals['subtotals']:
tax_totals['subtotals'][0]['formatted_amount'] = tax_totals['formatted_amount_untaxed']
return tax_totals
def _l10n_cl_include_sii(self):
self.ensure_one()
return self.l10n_latam_document_type_id.code in ['39', '41', '110', '111', '112', '34']
def _is_manual_document_number(self):
if self.journal_id.company_id.country_id.code == 'CL':
return self.journal_id.type == 'purchase' and not self.l10n_latam_document_type_id._is_doc_type_vendor()
return super()._is_manual_document_number()
def _l10n_cl_get_amounts(self):
"""
This method is used to calculate the amount and taxes required in the Chilean localization electronic documents.
"""
self.ensure_one()
global_discounts = self.invoice_line_ids.filtered(lambda x: x.price_subtotal < 0)
export = self.l10n_latam_document_type_id._is_doc_type_export()
main_currency = self.company_id.currency_id if not export else self.currency_id
key_main_currency = 'amount_currency' if export else 'balance'
sign_main_currency = -1 if self.move_type == 'out_invoice' else 1
currency_round_main_currency = self.currency_id if export else self.company_id.currency_id
currency_round_other_currency = self.company_id.currency_id if export else self.currency_id
total_amount_main_currency = currency_round_main_currency.round(self.amount_total) if export \
else (currency_round_main_currency.round(abs(self.amount_total_signed)))
other_currency = self.currency_id != self.company_id.currency_id
values = {
'main_currency': main_currency,
'vat_amount': 0,
'subtotal_amount_taxable': 0,
'subtotal_amount_exempt': 0, 'total_amount': total_amount_main_currency,
'main_currency_round': currency_round_main_currency.decimal_places,
'main_currency_name': self._l10n_cl_normalize_currency_name(
currency_round_main_currency.name) if export else False
}
vat_percent = 0
if other_currency:
key_other_currency = 'balance' if export else 'amount_currency'
values['second_currency'] = {
'subtotal_amount_taxable': 0,
'subtotal_amount_exempt': 0,
'vat_amount': 0,
'total_amount': currency_round_other_currency.round(abs(self.amount_total_signed)) \
if export else currency_round_other_currency.round(self.amount_total),
'round_currency': currency_round_other_currency.decimal_places,
'name': self._l10n_cl_normalize_currency_name(currency_round_other_currency.name),
'rate': round(abs(self.amount_total_signed) / self.amount_total, 4),
}
for line in self.line_ids:
if line.tax_line_id and line.tax_line_id.l10n_cl_sii_code == 14:
values['vat_amount'] += line[key_main_currency] * sign_main_currency
if other_currency:
values['second_currency']['vat_amount'] += line[key_other_currency] * sign_main_currency # amount_currency behaves as balance
vat_percent = line.tax_line_id.amount if line.tax_line_id.amount > vat_percent else vat_percent
if line.display_type == 'product':
if line.tax_ids.filtered(lambda x: x.l10n_cl_sii_code == 14):
values['subtotal_amount_taxable'] += line[key_main_currency] * sign_main_currency
if other_currency:
values['second_currency']['subtotal_amount_taxable'] += line[key_other_currency] * sign_main_currency
elif not line.tax_ids:
values['subtotal_amount_exempt'] += line[key_main_currency] * sign_main_currency
if other_currency:
values['second_currency']['subtotal_amount_exempt'] += line[key_other_currency] * sign_main_currency
values['global_discounts'] = []
for gd in global_discounts:
main_value = currency_round_main_currency.round(abs(gd.price_subtotal)) if \
(not other_currency and not export) or (other_currency and export) else \
currency_round_main_currency.round(abs(gd.balance))
second_value = currency_round_other_currency.round(abs(gd.balance)) if other_currency and export else \
currency_round_other_currency.round(abs(gd.price_subtotal))
values['global_discounts'].append(
{
'name': gd.name,
'global_discount_main_value': main_value,
'global_discount_second_value': second_value if second_value != main_value else False,
'tax_ids': gd.tax_ids,
}
)
values['vat_percent'] = '%.2f' % vat_percent if vat_percent > 0 else False
return values
def _l10n_cl_get_withholdings(self):
"""
This method calculates the section of withholding taxes, or 'other' taxes for the Chilean electronic invoices.
These taxes are not VAT taxes in general; they are special taxes (for example, alcohol or sugar-added beverages,
withholdings for meat processing, fuel, etc.
The taxes codes used are included here:
[15, 17, 18, 19, 24, 25, 26, 27, 271]
http://www.sii.cl/declaraciones_juradas/ddjj_3327_3328/cod_otros_imp_retenc.pdf
The need of the tax is not just the amount, but the code of the tax, the percentage amount and the amount
:return:
"""
self.ensure_one()
tax = [{'tax_code': line.tax_line_id.l10n_cl_sii_code,
'tax_name': line.tax_line_id.name,
'tax_base': abs(sum(self.invoice_line_ids.filtered(
lambda x: line.tax_line_id.l10n_cl_sii_code in x.tax_ids.mapped('l10n_cl_sii_code')).mapped(
'balance'))),
'tax_percent': abs(line.tax_line_id.amount),
'tax_amount_currency': self.currency_id.round(abs(line.amount_currency)),
'tax_amount': self.currency_id.round(abs(line.balance))} for line in self.line_ids.filtered(
lambda x: x.tax_group_id.id in [
self.env.ref('l10n_cl.tax_group_ila').id, self.env.ref('l10n_cl.tax_group_retenciones').id])]
return tax
def _float_repr_float_round(self, value, decimal_places):
return float_repr(float_round(value, decimal_places), decimal_places)

View file

@ -0,0 +1,127 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
from odoo.tools.float_utils import float_repr
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
def _l10n_cl_prices_and_taxes(self):
""" this method is preserved here to allow compatibility with old templates,
Nevertheless it will be deprecated in future versions, since it had been replaced by
the method _l10n_cl_get_line_amounts, which is the same method used to calculate
the values for the XML (DTE) file
"""
self.ensure_one()
invoice = self.move_id
included_taxes = self.tax_ids.filtered(lambda x: x.l10n_cl_sii_code == 14) if self.move_id._l10n_cl_include_sii() else self.tax_ids
if not included_taxes:
price_unit = self.tax_ids.with_context(round=False).compute_all(
self.price_unit, invoice.currency_id, 1.0, self.product_id, invoice.partner_id)
price_unit = price_unit['total_excluded']
price_subtotal = self.price_subtotal
else:
price_unit = included_taxes.compute_all(
self.price_unit, invoice.currency_id, 1.0, self.product_id, invoice.partner_id)['total_included']
price = self.price_unit * (1 - (self.discount or 0.0) / 100.0)
price_subtotal = included_taxes.compute_all(
price, invoice.currency_id, self.quantity, self.product_id, invoice.partner_id)['total_included']
price_net = price_unit * (1 - (self.discount or 0.0) / 100.0)
return {
'price_unit': price_unit,
'price_subtotal': price_subtotal,
'price_net': price_net
}
def _l10n_cl_get_line_amounts(self):
"""
This method is used to calculate the amount and taxes of the lines required in the Chilean localization
electronic documents.
"""
# If in this fix we should check for boletas, we have the following cases, and how this affects the xml
# for facturas and boletas:
# 1. local invoice in same currency tax not included in price
# 2. local invoice in same currency tax included in price (there is difference of -1 peso in amount_untaxed
# and +1 peso in vat tax amount. The lines are OK
# 3. local invoice in different currency tax not included in price
# 4. local invoice in different currency tax include in price -> this is the most problematic case because
# 5. foreign invoice in different currency (without tax)
if self.display_type != 'product':
return {
'price_subtotal': 0,
}
line_sign = self.price_subtotal / abs(self.price_subtotal) if self.price_subtotal else 0
domestic_invoice_other_currency = self.move_id.currency_id != self.move_id.company_id.currency_id and not \
self.move_id.l10n_latam_document_type_id._is_doc_type_export()
export = self.move_id.l10n_latam_document_type_id._is_doc_type_export()
if not export:
# This is to manage case 1, 2, 3 and 4
# cases 1 and 2: domestic invoice in same currency and cases 3 and 4 with other currency
main_currency = self.move_id.company_id.currency_id
main_currency_field = 'balance'
second_currency_field = 'price_subtotal'
second_currency = self.currency_id
main_currency_rate = 1
second_currency_rate = abs(self.move_id.amount_total_signed) / self.move_id.amount_total if self.move_id.amount_total else 1
inverse_rate = second_currency_rate if domestic_invoice_other_currency else main_currency_rate
else:
# This is to manage case 5 (export docs)
main_currency = self.currency_id
second_currency = self.move_id.company_id.currency_id
main_currency_field = 'price_subtotal'
second_currency_field = 'balance'
inverse_rate = abs(self.move_id.amount_total_signed) / self.move_id.amount_total if self.move_id.amount_total else 1
price_subtotal = abs(self[main_currency_field]) * line_sign
if self.quantity and self.discount != 100.0:
price_unit = (price_subtotal / abs(self.quantity)) / (1 - self.discount / 100)
if self.move_id.l10n_latam_document_type_id._is_doc_type_electronic_ticket():
price_item_document = (self.price_total / abs(self.quantity)) / (1 - self.discount / 100)
price_line_document = self.price_total
else:
price_item_document = price_unit
price_line_document = price_subtotal
else:
price_item_document = price_line_document = 0.0
price_unit = self.price_unit
if self.discount == 100:
price_before_discount = price_unit * self.quantity
else:
price_before_discount = price_subtotal / (1 - self.discount / 100)
discount_amount = price_before_discount * self.discount / 100
values = {
'decimal_places': main_currency.decimal_places,
'price_item': round(price_unit, 6),
'price_item_document': round(price_item_document, 2),
'price_line_document': price_line_document,
'total_discount': main_currency.round(discount_amount),
'price_subtotal': main_currency.round(price_subtotal),
'exempt': bool(not self.tax_ids),
'main_currency': main_currency,
}
if domestic_invoice_other_currency or export:
price_subtotal_second = abs(self[second_currency_field]) * line_sign
if self.quantity and self.discount != 100.0:
price_unit_second = (price_subtotal_second / abs(self.quantity)) / (1 - self.discount / 100)
else:
price_unit_second = self.price_unit
discount_amount_second = price_unit_second * self.quantity - price_subtotal_second
values['second_currency'] = {
'price': second_currency.round(price_unit_second),
'currency_name': self.move_id._format_length(second_currency.name, 3),
'conversion_rate': round(inverse_rate, 4),
'amount_discount': second_currency.round(discount_amount_second),
'total_amount': second_currency.round(price_subtotal_second),
'round_currency': second_currency.decimal_places,
}
values['line_description'] = '%s (%s: %s @ %s)' % (
self.name,
values['second_currency']['currency_name'],
float_repr(values['second_currency']['price'], values['second_currency']['round_currency']),
self.move_id._float_repr_float_round(values['second_currency']['conversion_rate'], values['second_currency']['round_currency']),
) if values.get('second_currency') and not self.l10n_latam_document_type_id._is_doc_type_export() else self.name
return values

View file

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class AccountTax(models.Model):
_name = 'account.tax'
_inherit = 'account.tax'
l10n_cl_sii_code = fields.Integer('SII Code', group_operator=False)
class AccountTaxTemplate(models.Model):
_name = 'account.tax.template'
_inherit = 'account.tax.template'
l10n_cl_sii_code = fields.Integer('SII Code')
def _get_tax_vals(self, company, tax_template_to_tax):
self.ensure_one()
vals = super(AccountTaxTemplate, self)._get_tax_vals(company, tax_template_to_tax)
vals.update({
'l10n_cl_sii_code': self.l10n_cl_sii_code,
})
if self.tax_group_id:
vals['tax_group_id'] = self.tax_group_id.id
return vals

View file

@ -0,0 +1,44 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields
class L10nLatamDocumentType(models.Model):
_inherit = 'l10n_latam.document.type'
internal_type = fields.Selection(
selection_add=[
('invoice', 'Invoices'),
('invoice_in', 'Purchase Invoices'),
('debit_note', 'Debit Notes'),
('credit_note', 'Credit Notes'),
('receipt_invoice', 'Receipt Invoice'),
('stock_picking', 'Stock Delivery'),
],
)
l10n_cl_active = fields.Boolean(
'Active in localization', help='This boolean enables document to be included on invoicing')
def _format_document_number(self, document_number):
""" Make validation of Import Dispatch Number
* making validations on the document_number. If it is wrong it should raise an exception
* format the document_number against a pattern and return it
"""
self.ensure_one()
if self.country_id.code != "CL":
return super()._format_document_number(document_number)
if not document_number:
return False
return document_number.zfill(6)
def _is_doc_type_vendor(self):
return self.code == '46'
def _is_doc_type_export(self):
return self.code in ['110', '111', '112'] and self.country_id.code == 'CL'
def _is_doc_type_electronic_ticket(self):
return self.code in ['39', '41'] and self.country_id.code == 'CL'

View file

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields
class ResCompany(models.Model):
_inherit = "res.company"
l10n_cl_activity_description = fields.Char(
string='Company Activity Description', related='partner_id.l10n_cl_activity_description', readonly=False)
def _localization_use_documents(self):
""" Chilean localization use documents """
self.ensure_one()
return self.account_fiscal_country_id.code == "CL" or super()._localization_use_documents()

View file

@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResPartner(models.Model):
_name = 'res.country'
_inherit = 'res.country'
l10n_cl_customs_code = fields.Char('Customs Code')
l10n_cl_customs_name = fields.Char('Customs Name')
l10n_cl_customs_abbreviation = fields.Char('Customs Abbreviation')

View file

@ -0,0 +1,10 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import _, api, fields, models
class ResCurrency(models.Model):
_name = "res.currency"
_inherit = "res.currency"
l10n_cl_currency_code = fields.Char('Currency Code')
l10n_cl_short_name = fields.Char('Short Name')

View file

@ -0,0 +1,69 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import stdnum
from odoo import _, api, fields, models
from odoo.exceptions import UserError, ValidationError
class ResPartner(models.Model):
_name = 'res.partner'
_inherit = 'res.partner'
_sii_taxpayer_types = [
('1', _('VAT Affected (1st Category)')),
('2', _('Fees Receipt Issuer (2nd category)')),
('3', _('End Consumer')),
('4', _('Foreigner')),
]
l10n_cl_sii_taxpayer_type = fields.Selection(
_sii_taxpayer_types, 'Taxpayer Type', index='btree_not_null',
help='1 - VAT Affected (1st Category) (Most of the cases)\n'
'2 - Fees Receipt Issuer (Applies to suppliers who issue fees receipt)\n'
'3 - End consumer (only receipts)\n'
'4 - Foreigner')
l10n_cl_activity_description = fields.Char(string='Activity Description')
@api.model
def _commercial_fields(self):
return super()._commercial_fields() + ['l10n_cl_sii_taxpayer_type']
def _format_vat_cl(self, values):
identification_types = [self.env.ref('l10n_latam_base.it_vat').id, self.env.ref('l10n_cl.it_RUT').id,
self.env.ref('l10n_cl.it_RUN').id]
country = self.env["res.country"].browse(values.get('country_id'))
identification_type = self.env['l10n_latam.identification.type'].browse(
values.get('l10n_latam_identification_type_id')
)
partner_country_is_chile = country.code == "CL" or identification_type.country_id.code == "CL"
if partner_country_is_chile and \
values.get('l10n_latam_identification_type_id') in identification_types and values.get('vat') and\
stdnum.util.get_cc_module('cl', 'vat').is_valid(values['vat']):
return stdnum.util.get_cc_module('cl', 'vat').format(values['vat']).replace('.', '').replace(
'CL', '').upper()
else:
return values['vat']
def _format_dotted_vat_cl(self, vat):
vat_l = vat.split('-')
n_vat, n_dv = vat_l[0], vat_l[1]
return '%s-%s' % (format(int(n_vat), ',d').replace(',', '.'), n_dv)
@api.model_create_multi
def create(self, vals_list):
for vals in vals_list:
if vals.get('vat'):
vals['vat'] = self._format_vat_cl(vals)
return super().create(vals_list)
def write(self, values):
if any(field in values for field in ['vat', 'l10n_latam_identification_type_id', 'country_id']):
for record in self:
vat_values = {
'vat': values.get('vat', record.vat),
'l10n_latam_identification_type_id': values.get(
'l10n_latam_identification_type_id', record.l10n_latam_identification_type_id.id),
'country_id': values.get('country_id', record.country_id.id)
}
values['vat'] = self._format_vat_cl(vat_values)
return super().write(values)

View file

@ -0,0 +1,9 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResBank(models.Model):
_name = 'res.bank'
_inherit = 'res.bank'
l10n_cl_sbif_code = fields.Char('Cod. SBIF', size=10)

View file

@ -0,0 +1,9 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models, api, _
class UomUom(models.Model):
_inherit = 'uom.uom'
l10n_cl_sii_code = fields.Char('SII Code')

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -0,0 +1 @@
from . import test_latam_document_type

View file

@ -0,0 +1,82 @@
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
from odoo.tests import tagged, Form
@tagged('post_install_l10n', 'post_install', '-at_install')
class TestClLatamDocumentType(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref='l10n_cl.cl_chart_template'):
super().setUpClass(chart_template_ref=chart_template_ref)
country_cl = cls.env.ref('base.cl')
rut_id_type = cls.env.ref('l10n_cl.it_RUT')
cls.cl_partner_a, cls.cl_partner_b = cls.env['res.partner'].create([
{
'name': 'Chilean Partner A',
'country_id': country_cl.id,
'l10n_latam_identification_type_id': rut_id_type.id,
'vat': '76201224-3',
'l10n_cl_sii_taxpayer_type': '1',
},
{
'name': 'Chilean Partner B',
'country_id': country_cl.id,
'l10n_latam_identification_type_id': rut_id_type.id,
'vat': '76201224-3',
'l10n_cl_sii_taxpayer_type': '1',
},
])
# Create a purchase journal that uses latam documents
cls.purchase_journal = cls.env['account.journal'].create([{
'name': 'Vendor bills elec',
'code': 'VBE',
'company_id': cls.company_data['company'].id,
'type': 'purchase',
'l10n_latam_use_documents': True,
'default_account_id': cls.company_data['default_journal_purchase'].default_account_id.id,
}])
def test_document_type_not_modified_when_partner_changes(self):
""" Test that when the partner changes, the document type is not reset to default
if the currently selected document type is compatible with the new partner.
"""
document_type_33 = self.env.ref('l10n_cl.dc_a_f_dte')
document_type_46 = self.env.ref('l10n_cl.dc_fc_f_dte')
# 1. Do the test with a new invoice
with Form(self.env['account.move'].with_context({'default_move_type': 'in_invoice'})) as invoice_form:
# Change the journal to the one that uses documents, set the partner and check that the
# l10n_latam_document_type_id is computed and set to 33 (Factura Electronica, the default).
invoice_form.journal_id = self.purchase_journal
invoice_form.partner_id = self.cl_partner_a
self.assertEqual(invoice_form.l10n_latam_document_type_id.id, document_type_33.id)
# Change the document type to 45 (Factura de Compra)
invoice_form.l10n_latam_document_type_id = document_type_46
# Change the partner and check that the document type hasn't changed
invoice_form.partner_id = self.cl_partner_b
self.assertEqual(invoice_form.l10n_latam_document_type_id.id, document_type_46.id)
invoice_form.l10n_latam_document_number = '000001'
invoice = invoice_form.save()
self.assertRecordValues(invoice, [{
'partner_id': self.cl_partner_b.id,
'l10n_latam_document_type_id': document_type_46.id,
}])
# 2. Do the test again with the existing invoice
with Form(invoice) as invoice_form:
# Change the partner and check that the document type hasn't changed
invoice_form.partner_id = self.cl_partner_a
self.assertEqual(invoice_form.l10n_latam_document_type_id.id, document_type_46.id)
invoice_form.save()
self.assertRecordValues(invoice, [{
'partner_id': self.cl_partner_a.id,
'l10n_latam_document_type_id': document_type_46.id,
}])

View file

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_move_form_inherit_l10n_cl" model="ir.ui.view">
<field name="name">account.move.form.inherit.l10n.cl</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<form>
<field name="l10n_latam_internal_type" invisible="1"/>
</form>
</field>
</record>
<record id="view_latam_form_inherit_l10n_cl" model="ir.ui.view">
<field name="name">account.move.latam.form.inherit.l10n.cl</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="l10n_latam_invoice_document.view_move_form"/>
<field name="arch" type="xml">
<field name="l10n_latam_document_number" position="attributes">
<attribute name="attrs">{
'invisible': [
'|',
('l10n_latam_use_documents', '=', False),
('l10n_latam_manual_document_number', '=', False),
'|', '|',
('l10n_latam_use_documents', '=', False),
('highest_name', '!=', False),
('state', '!=', 'draft'),
'|', '|', '|',
('l10n_latam_use_documents', '=', False),
('posted_before', '=', False),
('state', '!=', 'draft'),
('country_code', '!=', 'CL')
],
'readonly': [('posted_before', '=', True), ('state', '!=', 'draft')],
'required': ['|', ('l10n_latam_manual_document_number', '=', True), ('highest_name', '=', False)]}
</attribute>
</field>
</field>
</record>
<record id="view_complete_invoice_refund_tree" model="ir.ui.view">
<field name="name">account.move.tree2</field>
<field name="model">account.move</field>
<field name="arch" type="xml">
<tree decoration-info="state == 'draft'" default_order="create_date" string="Invoices and Refunds" decoration-muted="state == 'cancel'" js_class="account_tree">
<field name="l10n_latam_document_type_id_code"/>
<field name="l10n_latam_document_number" string="Folio"/>
<field name="partner_id_vat"/>
<field name="partner_id"/>
<field name="invoice_date" optional="show"/>
<field name="invoice_date_due" optional="show"/>
<field name="date" string="Accounting Date" optional="show"/>
<field name="payment_reference" optional="hide"/>
<field name="invoice_user_id" optional="show" invisible="context.get('default_move_type') not in ('out_invoice', 'out_refund','out_receipt')" string="Sales Person"/>
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}" optional="show"/>
<field name="invoice_origin" optional="show" string="Source Document"/>
<field name="amount_untaxed_signed" string="Amount Untaxed" sum="Total" optional="show"/>
<field name="amount_tax_signed" string="Tax" sum="Total" optional="show"/>
<field name="amount_total_signed" string="Total" sum="Total" optional="show"/>
<field name="amount_residual_signed" string="Amount Due" sum="Amount Due" optional="show"/>
<field name="currency_id" invisible="1"/>
<field name="company_currency_id" invisible="1"/>
<field name="state" optional="show"/>
<field name="payment_state" optional="hide"/>
<field name="move_type" invisible="context.get('default_move_type', True)"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="sale_invoices_credit_notes">
<field name="name">Sale Invoices and Credit Notes</field>
<field name="view_id" ref="view_complete_invoice_refund_tree"/>
<field name="res_model">account.move</field>
<field name="domain">[('move_type', 'in', ['out_invoice', 'out_refund'])]</field>
<field name="context">{'default_move_type': 'out_invoice'}</field>
<field name="target">current</field>
<field name="view_mode">tree,form</field>
</record>
<record model="ir.actions.act_window" id="vendor_bills_and_refunds">
<field name="name">Vendor Bills and Refunds</field>
<field name="view_id" ref="view_complete_invoice_refund_tree"/>
<field name="res_model">account.move</field>
<field name="domain">[('move_type', 'in', ['in_invoice', 'in_refund'])]</field>
<field name="context">{'default_move_type': 'in_invoice'}</field>
<field name="target">current</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="menu_sale_invoices_credit_notes" parent="account.menu_finance_receivables" sequence="3" action="sale_invoices_credit_notes" name="Sale Invoices and Credit Notes (CL)"/>
<menuitem id="menu_vendor_bills_and_refunds" parent="account.menu_finance_payables" sequence="3" action="vendor_bills_and_refunds" name="Vendor Bills and Refunds (CL)"/>
</odoo>

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_account_tax_form" model="ir.ui.view">
<field name="name">account.tax.form</field>
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_form"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="l10n_cl_sii_code" options="{'format': false}" attrs="{'invisible': [('country_code', '!=', 'CL')]}"/>
</field>
</field>
</record>
<record id="view_tax_sii_code_tree" model="ir.ui.view">
<field name="name">account.tax.sii.code.tree</field>
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_tree" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="l10n_cl_sii_code" options="{'format': false}"/>
</field>
</field>
</record>
<record id="view_account_tax_template_form" model="ir.ui.view">
<field name="name">account.tax.template.form</field>
<field name="model">account.tax.template</field>
<field name="inherit_id" ref="account.view_account_tax_template_form"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="l10n_cl_sii_code" options="{'format': false}"/>
</field>
</field>
</record>
<record id="view_account_tax_template_tree" model="ir.ui.view">
<field name="name">account.tax.template.sii.tree</field>
<field name="model">account.tax.template</field>
<field name="inherit_id" ref="account.view_account_tax_template_tree" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="l10n_cl_sii_code" options="{'format': false}"/>
</field>
</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,289 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- this header can be used on any Chilean report -->
<template id="custom_header">
<t t-set="report_date" t-value="o.invoice_date"/>
<t t-set="report_number" t-value="int(o.l10n_latam_document_number)"/>
<t t-set="pre_printed_report" t-value="report_type == 'pdf'"/>
<t t-set="report_name" t-value="o.l10n_latam_document_type_id.name"/>
<t t-set="header_address" t-value="o.company_id.partner_id"/>
<t t-set="custom_footer">
<t t-call="l10n_cl.custom_footer"/>
</t>
<div>
<div class="row">
<div name="left-upper-side" class="col-8">
<img t-if="o.company_id.logo" t-att-src="image_data_uri(o.company_id.logo)"
style="max-height: 45px;" alt="Logo"/>
<br/>
<strong>
<span t-field="o.company_id.partner_id.name"/>
</strong>
<br/>
<span name="company_activity" class="fst-italic" t-field="o.company_id.report_header"/>
<div/>
<t t-esc="' - '.join([item for item in [
', '.join([item for item in [header_address.street, header_address.street2] if item]),
header_address.city,
header_address.state_id and header_address.state_id.name,
header_address.zip,
header_address.country_id and header_address.country_id.name] if item])"/>
<span t-if="header_address.phone">
<br/>
</span>
<span t-if="header_address.phone" style="white-space: nowrap;"
t-esc="'Tel: ' + header_address.phone"/>
<span t-if="header_address.website">
<span t-att-style="'color: %s;' % o.company_id.primary_color"
t-esc="'- Web: %s' %' - '.join([item for item in [header_address.website.replace('https://', '').replace('http://', ''), header_address.email] if item])"/>
</span>
</div>
<div name="right-upper-side" class="col-4">
<div class="row">
<div name="right-upper-side" class="col-12">
<div class="row border border-4 border-dark">
<div class="col-12 text-center">
<h6 style="color: black;">
<strong>
<br/>
<span style="font-family:arial; line-height: 180%;">RUT:</span>
<t t-if="o.company_id.partner_id.vat">
<span style="font-family:arial;" t-esc="o.company_id.partner_id._format_dotted_vat_cl(o.company_id.partner_id.vat)"/>
</t>
<br/>
<span style="font-family:arial;" class="text-uppercase" t-esc="report_name"/>
<br/>
<span>Nº:</span>
<span style="font-family:arial;line-height: 200%;" t-esc="report_number"/>
</strong>
</h6>
</div>
</div>
<div class="row text-center">
<div class="col-12 text-center" t-att-style="'color: %s;' % o.company_id.primary_color"
name="regional-office"/>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<template id="informations">
<div id="informations" class="row mt8 mb8">
<div class="col-6">
<strong>
<span t-att-style="'color: %s;' % o.company_id.secondary_color">Date:</span>
</strong>
<span t-esc="o.invoice_date" t-options='{"widget": "date"}'/>
<br/>
<strong>Customer:</strong>
<span t-field="o.partner_id.name"/>
<br/>
<t t-if="o.partner_id.vat and o.partner_id.l10n_latam_identification_type_id">
<strong>
<t t-esc="o.partner_id.l10n_latam_identification_type_id.name or o.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>:
</strong>
<span t-esc="o.partner_id.vat"/>
<br/>
</t>
<strong>Address:</strong>
<span t-esc="o.partner_id._display_address(without_company=True)"/>
</div>
<div class="col-6">
<strong>Due Date:</strong>
<span t-esc="o.invoice_date_due" t-options='{"widget": "date"}'/>
<br/>
<strong>Payment Terms:</strong>
<span t-esc="o.invoice_payment_term_id.name or ''"/>
<t t-if="o.invoice_incoterm_id">
<br/>
<strong>Incoterm:</strong>
<span t-field="o.invoice_incoterm_id.name"/>
</t>
<t t-if="o.partner_shipping_id and o.partner_id not in o.partner_shipping_id" >
<br/>
<strong>Delivery Address:</strong>
<span t-esc="o.partner_shipping_id._display_address(without_company=True)"/>
</t>
<br/>
<strong>GIRO:</strong>
<span t-esc="o.partner_id.industry_id.name or ''"/>
</div>
</div>
<div id="references" class="row">
<div name="references" class="col-12 text-center"/>
</div>
</template>
<template id="custom_footer">
<div name="footer_left_column" class="col-8 text-center"/>
</template>
<template id="report_invoice_document" inherit_id="account.report_invoice_document" primary="True">
<t t-set="o" position="after">
<t t-set="custom_header" t-value="'l10n_cl.custom_header'"/>
</t>
<!-- remove default partner address -->
<xpath expr="//div[@name='address_not_same_as_shipping']" position="replace">
<div name="address_not_same_as_shipping"/>
</xpath>
<xpath expr="//div[@name='address_same_as_shipping']" position="replace">
<div name="address_same_as_shipping"/>
</xpath>
<xpath expr="//div[@name='no_shipping']" position="replace">
<div name="no_shipping"/>
</xpath>
<xpath expr="//h2" position="replace"/>
<t t-set="current_subtotal" t-value="current_subtotal + line.price_subtotal" position="before">
<t t-set="line_amounts" t-value="line._l10n_cl_get_line_amounts()"/>
</t>
<xpath expr="//span[@t-field='line.price_unit']" position="before">
<t t-if="'second_currency' in line_amounts" t-set="line_second_currency_round" t-value="line_amounts['second_currency']['round_currency']"/>
</xpath>
<xpath expr="//span[@t-field='line.price_unit']" position="attributes">
<attribute name="t-field"></attribute>
<attribute t-if="not o.l10n_latam_document_type_id._is_doc_type_electronic_ticket()" name="t-esc">line_amounts['price_item_document']</attribute>
<attribute name="t-options">{"widget": "float", "precision": 2}</attribute>
</xpath>
<th name="th_price_unit" t-if="display_discount" t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}" position="after">
<th name="th_price_unit" t-if="display_discount" t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
<span>Disc.</span>
</th>
</th>
<td t-if="display_discount" t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}" position="after">
<td t-if="display_discount" t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
<span class="text-nowrap" t-esc="line_amounts['total_discount']" t-options="{'widget': 'monetary', 'display_currency': line_amounts['main_currency']}"/>
</td>
</td>
<xpath expr="//span[@id='line_tax_ids']" position="attributes">
<attribute name="t-esc">', '.join(map(lambda x: (x.description or x.name), line.tax_lines))</attribute>
</xpath>
<span t-field="line.price_subtotal" position="attributes">
<attribute name="t-field"/>
<attribute name="t-esc">line_amounts['price_line_document']</attribute>
<attribute name="t-options">{"widget": "monetary", "display_currency": line_amounts['main_currency']}</attribute>
</span>
<xpath expr="//th[@name='th_taxes']" position="replace"/>
<xpath expr="//span[@id='line_tax_ids']/.." position="replace"/>
<div name="payment_term" position="replace"/>
<xpath expr="//span[@t-field='o.payment_reference']/../.." position="replace"/>
<!-- replace information section and usage chilean style -->
<div id="informations" position="replace">
<t t-call="l10n_cl.informations"/>
</div>
<!-- we remove the ml auto and also give more space to avoid multiple lines on tax detail -->
<xpath expr="//div[@id='total']/div" position="attributes">
<attribute name="t-attf-class">#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'}</attribute>
</xpath>
<xpath expr="//div[@id='total']/div" position="before">
<div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'}"/>
</xpath>
<xpath expr="//div[@id='total']/div" position="inside">
<div name="stamp" class="col-11 text-center"/>
</xpath>
<xpath expr="//div[@id='total']//div//table" position="after">
<div class="row">
<div class="col-12 text-end" t-if="o.l10n_latam_document_type_id.code == '39'" name="vat_boleta">
The VAT tax of this boleta is: <span t-esc="o._l10n_cl_get_amounts()['vat_amount']" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>.
</div>
<div name="transferable-table" class="col-6"/>
<div name="transferable-legend" class="col-6 text-end"/>
</div>
</xpath>
<xpath expr="//span[@t-field='line.name']" position="replace">
<t t-set="all_taxes" t-value="'all_taxes'"/>
<t t-if="'second_currency' in line_amounts" t-set="line_second_currency_round" t-value="line_amounts['second_currency']['round_currency']"/>
<span t-esc="line_amounts['line_description']" t-options="{'widget': 'text'}"/>
</xpath>
<t t-call="account.document_tax_totals" position="attributes">
<attribute name="t-call">l10n_cl.tax_totals_widget</attribute>
</t>
</template>
<!-- FIXME: Temp fix to allow fetching invoice_documemt in Studio Reports with localisation -->
<template id="report_invoice" inherit_id="account.report_invoice">
<xpath expr='//t[@t-call="account.report_invoice_document"]' position="after">
<t t-if="o._get_name_invoice_report() == 'l10n_cl.report_invoice_document'"
t-call="l10n_cl.report_invoice_document" t-lang="lang"/>
</xpath>
</template>
<template id="report_invoice_with_payments" inherit_id="account.report_invoice_with_payments">
<xpath expr='//t[@t-call="account.report_invoice_document"]' position="after">
<t t-if="o._get_name_invoice_report() == 'l10n_cl.report_invoice_document'"
t-call="l10n_cl.report_invoice_document" t-lang="lang"/>
</xpath>
</template>
<template id="tax_totals_widget" inherit_id="account.document_tax_totals" primary="True">
<t t-foreach="tax_totals['subtotals']" t-as="subtotal" position="replace">
<t t-set="subtotal_amounts" t-value="o._l10n_cl_get_amounts()"/>
<t t-set="withholdings" t-value="o._l10n_cl_get_withholdings()"/>
<t t-if="subtotal_amounts['subtotal_amount_taxable'] != 0.0">
<tr class="border-black is-subtotal"><td><strong>Net Amount</strong></td><td class="text-end oe_subtotal_footer_separator" t-esc="subtotal_amounts['subtotal_amount_taxable']" t-options="{'widget': 'monetary', 'display_currency': subtotal_amounts['main_currency']}"/></tr>
</t>
<t t-if="subtotal_amounts['subtotal_amount_exempt'] != 0.0">
<tr class="border-black is-subtotal">
<td><strong>Exempt Amount</strong></td>
<td class="text-end oe_subtotal_footer_separator" t-esc="subtotal_amounts['subtotal_amount_exempt']"
t-options="{'widget': 'monetary', 'display_currency': subtotal_amounts['main_currency']}"/>
</tr>
</t>
<t t-if="subtotal_amounts['vat_amount'] != 0.0">
<tr>
<td>VAT <t t-esc="subtotal_amounts['vat_percent']"/></td>
<td class="text-end" t-esc="subtotal_amounts['vat_amount']"
t-options="{'widget': 'monetary', 'display_currency': subtotal_amounts['main_currency']}"/></tr>
</t>
<t t-foreach="withholdings" t-as="wh">
<tr>
<td t-esc="'%s (base %s)' % (wh['tax_name'], o._format_lang_totals(wh['tax_base'], subtotal_amounts['main_currency']))"/>
<td class="text-end" t-esc="wh['tax_amount']" t-options="{'widget': 'monetary', 'display_currency': subtotal_amounts['main_currency']}"/></tr>
</t>
</t>
<tr class="border-black o_total" position="replace">
<tr class="border-black o_total">
<td><strong>Total</strong></td>
<td class="text-end">
<span t-esc="subtotal_amounts['total_amount']" t-options="{'widget': 'monetary', 'display_currency': subtotal_amounts['main_currency']}"/>
</td>
</tr>
</tr>
</template>
</odoo>

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="view_res_bank_form">
<field name="name">res.bank.form</field>
<field name="model">res.bank</field>
<field name="inherit_id" ref="base.view_res_bank_form" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="l10n_cl_sbif_code" />
</field>
</field>
</record>
<record model="ir.ui.view" id="view_res_bank_tree">
<field name="name">bank.bank.tree</field>
<field name="model">res.bank</field>
<field name="inherit_id" ref="base.view_res_bank_tree" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="l10n_cl_sbif_code" />
</field>
</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_company_l10n_cl_form" model="ir.ui.view">
<field name="model">res.company</field>
<field name="name">view.company.l10n.cl.form</field>
<field name="inherit_id" ref="base.view_company_form" />
<field name="arch" type="xml">
<field name="vat" position="after">
<field name="l10n_cl_activity_description" placeholder="Activity Description" attrs="{'invisible': [('country_id', '!=', %(base.cl)d)], 'required': [('country_id', '=', %(base.cl)d)]}"/>
</field>
</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.chilean.loc</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='invoicing_settings']" position="after">
<div id="l10n_cl_title" attrs="{'invisible': True}">
<h2>Chilean Localization</h2>
</div>
<div id="l10n_cl_section" class="row mt16 o_settings_container" attrs="{'invisible': [('country_code', '!=', 'CL')]}">
<!-- inside empty to add configuration of tags -->
</div>
</xpath>
</field>
</record>
</odoo>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_res_country_form" model="ir.ui.view">
<field name="name">res.country.form</field>
<field name="model">res.country</field>
<field name="inherit_id" ref="base.view_country_form"/>
<field name="arch" type="xml">
<field name="code" position="after">
<field name="l10n_cl_customs_name"/>
<field name="l10n_cl_customs_code"/>
<field name="l10n_cl_customs_abbreviation"/>
</field>
</field>
</record>
<record id="view_res_country_tree" model="ir.ui.view">
<field name="name">res.country.tree</field>
<field name="model">res.country</field>
<field name="inherit_id" ref="base.view_country_tree"/>
<field name="arch" type="xml">
<field name="code" position="after">
<field name="l10n_cl_customs_name"/>
<field name="l10n_cl_customs_code"/>
<field name="l10n_cl_customs_abbreviation"/>
</field>
</field>
</record>
</odoo>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_move_form" model="ir.ui.view">
<field name="name">res.partner.placeholders.l10n_cl.form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="model">res.partner</field>
<field name="arch" type="xml">
<field name="street2" position="attributes">
<attribute name="placeholder">Datos adic. dirección y Ciudad</attribute>
</field>
<field name="city" position="attributes">
<attribute name="placeholder">Comuna</attribute>
</field>
<field name="state_id" position="attributes">
<attribute name="placeholder">Región</attribute>
</field>
<field name="vat" position="after">
<field name="l10n_cl_sii_taxpayer_type" attrs="{'readonly': [('parent_id', '!=', False)]}"/>
<field name="l10n_cl_activity_description" placeholder="Activity Description"/>
</field>
</field>
</record>
</odoo>

View file

@ -0,0 +1,46 @@
[project]
name = "odoo-bringout-oca-ocb-l10n_cl"
version = "16.0.0"
description = "Chile - Accounting - Odoo addon"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ocb-contacts>=16.0.0",
"odoo-bringout-oca-ocb-base_vat>=16.0.0",
"odoo-bringout-oca-ocb-l10n_latam_base>=16.0.0",
"odoo-bringout-oca-ocb-l10n_latam_invoice_document>=16.0.0",
"odoo-bringout-oca-ocb-uom>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["l10n_cl"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]