summaryrefslogtreecommitdiff
path: root/addons/l10n_id/data/account_tax_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_id/data/account_tax_template_data.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/l10n_id/data/account_tax_template_data.xml')
-rw-r--r--addons/l10n_id/data/account_tax_template_data.xml199
1 files changed, 199 insertions, 0 deletions
diff --git a/addons/l10n_id/data/account_tax_template_data.xml b/addons/l10n_id/data/account_tax_template_data.xml
new file mode 100644
index 00000000..39bebf73
--- /dev/null
+++ b/addons/l10n_id/data/account_tax_template_data.xml
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="ppn_tag" model="account.account.tag">
+ <field name="name">PPN - 08</field>
+ <field name="applicability">taxes</field>
+ <field name="country_id" ref="base.id"/>
+ </record>
+
+ <record id="tax_ST1" model="account.tax.template">
+ <field name="description">ST1</field>
+ <field name="chart_template_id" ref="l10n_id_chart"/>
+ <field name="type_tax_use">sale</field>
+ <field name="name">10%</field>
+ <field name="amount_type">percent</field>
+ <field name="amount">10.0</field>
+ <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ 'tag_ids': [(4, ref('ppn_tag'))],
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('a_2_122101'),
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ 'tag_ids': [(4, ref('ppn_tag'))],
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('a_2_122101'),
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_PT1" model="account.tax.template">
+ <field name="description">PT1</field>
+ <field name="chart_template_id" ref="l10n_id_chart"/>
+ <field name="type_tax_use">purchase</field>
+ <field name="name">10%</field>
+ <field name="amount_type">percent</field>
+ <field name="amount">10.0</field>
+ <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ 'tag_ids': [(4, ref('ppn_tag'))],
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('a_2_122102'),
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ 'tag_ids': [(4, ref('ppn_tag'))],
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('a_2_122102'),
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_ST0" model="account.tax.template">
+ <field name="description">ST0</field>
+ <field name="chart_template_id" ref="l10n_id_chart"/>
+ <field name="type_tax_use">sale</field>
+ <field name="name">0%</field>
+ <field name="amount_type">percent</field>
+ <field name="amount">0</field>
+ <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('a_2_122101'),
+ }),
+ ]"/>
+ <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('a_2_122101'),
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_ST2" model="account.tax.template">
+ <field name="description">ST2</field>
+ <field name="chart_template_id" ref="l10n_id_chart"/>
+ <field name="type_tax_use">sale</field>
+ <field name="name">Exempt</field>
+ <field name="amount_type">percent</field>
+ <field name="amount">0</field>
+ <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('a_2_122101'),
+ }),
+ ]"/>
+ <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('a_2_122101'),
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_PT0" model="account.tax.template">
+ <field name="description">PT0</field>
+ <field name="chart_template_id" ref="l10n_id_chart"/>
+ <field name="type_tax_use">purchase</field>
+ <field name="name">Exempt</field>
+ <field name="amount_type">percent</field>
+ <field name="amount">0</field>
+ <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('a_2_122102'),
+ }),
+ ]"/>
+ <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('a_2_122102'),
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_PT2" model="account.tax.template">
+ <field name="description">PT2</field>
+ <field name="chart_template_id" ref="l10n_id_chart"/>
+ <field name="type_tax_use">purchase</field>
+ <field name="name">0%</field>
+ <field name="amount_type">percent</field>
+ <field name="amount">0</field>
+ <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('a_2_122102'),
+ }),
+ ]"/>
+ <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('a_2_122102'),
+ }),
+ ]"/>
+ </record>
+
+</odoo>