diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/l10n_vn/data/account_tax_data.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/l10n_vn/data/account_tax_data.xml')
| -rw-r--r-- | addons/l10n_vn/data/account_tax_data.xml | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/addons/l10n_vn/data/account_tax_data.xml b/addons/l10n_vn/data/account_tax_data.xml new file mode 100644 index 00000000..c7c549f3 --- /dev/null +++ b/addons/l10n_vn/data/account_tax_data.xml @@ -0,0 +1,209 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <!-- Tax Definitions --> + <!-- for purchase --> + <record id="tax_purchase_vat10" model="account.tax.template"> + <field name="chart_template_id" ref="vn_template"/> + <field name="name">Thuế GTGT được khấu trừ 10%</field> + <field name="description">Thuế GTGT được khấu trừ 10%</field> + <field name="amount" eval="10"/> + <field name="amount_type">percent</field> + <field name="type_tax_use">purchase</field> + <field name="tax_group_id" ref="tax_group_10"/> + <field name="invoice_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'plus_report_line_ids': [ref('account_tax_report_line_03_02_01_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart1331'), + 'plus_report_line_ids': [ref('account_tax_report_line_03_01_01_vn')], + }), + ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('account_tax_report_line_03_02_01_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart1331'), + 'minus_report_line_ids': [ref('account_tax_report_line_03_01_01_vn')], + }), + ]"/> + </record> + <record id="tax_purchase_vat5" model="account.tax.template"> + <field name="chart_template_id" ref="vn_template"/> + <field name="name">Thuế GTGT được khấu trừ 5%</field> + <field name="description">Thuế GTGT được khấu trừ 5%</field> + <field name="amount" eval="5"/> + <field name="amount_type">percent</field> + <field name="type_tax_use">purchase</field> + <field name="tax_group_id" ref="tax_group_5"/> + <field name="invoice_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'plus_report_line_ids': [ref('account_tax_report_line_02_02_01_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart1331'), + 'plus_report_line_ids': [ref('account_tax_report_line_02_01_01_vn')], + }), + ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('account_tax_report_line_02_02_01_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart1331'), + 'minus_report_line_ids': [ref('account_tax_report_line_02_01_01_vn')], + }), + ]"/> + </record> + <record id="tax_purchase_vat0" model="account.tax.template"> + <field name="chart_template_id" ref="vn_template"/> + <field name="name">Thuế GTGT được khấu trừ 0%</field> + <field name="description">Thuế GTGT được khấu trừ 0%</field> + <field name="amount" eval="0"/> + <field name="amount_type">percent</field> + <field name="type_tax_use">purchase</field> + <field name="tax_group_id" ref="tax_group_0"/> + <field name="invoice_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'plus_report_line_ids': [ref('account_tax_report_line_01_02_01_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + }), + ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('account_tax_report_line_01_02_01_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + }), + ]"/> + </record> + + <!-- for sale --> + <record id="tax_sale_vat10" model="account.tax.template"> + <field name="chart_template_id" ref="vn_template"/> + <field name="name">Thuế GTGT phải nộp 10%</field> + <field name="description">Thuế GTGT phải nộp 10%</field> + <field name="amount" eval="10"/> + <field name="amount_type">percent</field> + <field name="type_tax_use">sale</field> + <field name="tax_group_id" ref="tax_group_10"/> + <field name="invoice_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'plus_report_line_ids': [ref('account_tax_report_line_03_02_02_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart33311'), + 'plus_report_line_ids': [ref('account_tax_report_line_03_01_02_vn')], + }), + ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('account_tax_report_line_03_02_02_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart33311'), + 'minus_report_line_ids': [ref('account_tax_report_line_03_01_02_vn')], + }), + ]"/> + </record> + <record id="tax_sale_vat5" model="account.tax.template"> + <field name="chart_template_id" ref="vn_template"/> + <field name="name">Thuế GTGT phải nộp 5%</field> + <field name="description">Thuế GTGT phải nộp 5%</field> + <field name="amount" eval="5"/> + <field name="amount_type">percent</field> + <field name="type_tax_use">sale</field> + <field name="tax_group_id" ref="tax_group_5"/> + <field name="invoice_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'plus_report_line_ids': [ref('account_tax_report_line_02_02_02_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart33311'), + 'plus_report_line_ids': [ref('account_tax_report_line_02_01_02_vn')], + }), + ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('account_tax_report_line_02_02_02_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + 'account_id': ref('chart33311'), + 'minus_report_line_ids': [ref('account_tax_report_line_02_01_02_vn')], + }), + ]"/> + </record> + <record id="tax_sale_vat0" model="account.tax.template"> + <field name="chart_template_id" ref="vn_template"/> + <field name="name">Thuế GTGT phải nộp 0%</field> + <field name="description">Thuế GTGT phải nộp 0%</field> + <field name="amount" eval="0"/> + <field name="amount_type">percent</field> + <field name="type_tax_use">sale</field> + <field name="tax_group_id" ref="tax_group_0"/> + <field name="invoice_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'plus_report_line_ids': [ref('account_tax_report_line_01_02_02_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + }), + ]"/> + <field name="refund_repartition_line_ids" eval="[(5, 0, 0), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'base', + 'minus_report_line_ids': [ref('account_tax_report_line_01_02_02_vn')], + }), + (0,0, { + 'factor_percent': 100, + 'repartition_type': 'tax', + }), + ]"/> + </record> +</odoo> |
