summaryrefslogtreecommitdiff
path: root/addons/l10n_hn/data/account_chart_template_data.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/l10n_hn/data/account_chart_template_data.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/l10n_hn/data/account_chart_template_data.xml')
-rw-r--r--addons/l10n_hn/data/account_chart_template_data.xml80
1 files changed, 80 insertions, 0 deletions
diff --git a/addons/l10n_hn/data/account_chart_template_data.xml b/addons/l10n_hn/data/account_chart_template_data.xml
new file mode 100644
index 00000000..f0f99df7
--- /dev/null
+++ b/addons/l10n_hn/data/account_chart_template_data.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data noupdate="1">
+
+ <!-- Compras e ISV por Cobrar -->
+
+ <record id="impuestos_plantilla_isv_por_cobrar" model="account.tax.template">
+ <field name="chart_template_id" ref="cuentas_plantilla"/>
+ <field name="name">ISV por Cobrar</field>
+ <field name="description">ISV por Cobrar</field>
+ <field name="amount" eval="15"/>
+ <field name="amount_type">percent</field>
+ <field name="type_tax_use">purchase</field>
+ <field name="price_include" eval="True"/>
+ <field name="tax_group_id" ref="tax_group_iva_15"/>
+ <field name="invoice_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('cta110301'),
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('cta110301'),
+ }),
+ ]"/>
+ </record>
+
+ <!-- Ventas e ISV por Pagar -->
+
+ <record id="impuestos_plantilla_isv_por_pagar" model="account.tax.template">
+ <field name="chart_template_id" ref="cuentas_plantilla"/>
+ <field name="name">ISV por Pagar</field>
+ <field name="description">ISV por Pagar</field>
+ <field name="amount" eval="15"/>
+ <field name="amount_type">percent</field>
+ <field name="type_tax_use">sale</field>
+ <field name="price_include" eval="True"/>
+ <field name="tax_group_id" ref="tax_group_iva_15"/>
+ <field name="invoice_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('cta210201'),
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('cta210201'),
+ }),
+ ]"/>
+ </record>
+
+ <function model="account.chart.template" name="try_loading">
+ <value eval="[ref('l10n_hn.cuentas_plantilla')]"/>
+ </function>
+
+ </data>
+</odoo>