mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-26 10:22:05 +02:00
Initial commit: L10N_Asia Pacific packages
This commit is contained in:
commit
54c86b612c
828 changed files with 58224 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
"id","name","code","account_type","chart_template_id/id","reconcile"
|
||||
"a_recv","Account Receivable","1200","asset_receivable","l10n_th.chart","True"
|
||||
"a_recv_pos","Account Receivable (PoS)","1210","asset_receivable","l10n_th.chart","True"
|
||||
"a_cheque","Outstanding Cheques","1201","liability_current","l10n_th.chart","True"
|
||||
"a_invent","Inventory","1300","asset_current","l10n_th.chart","False"
|
||||
"a_building_depr","Accumulated Depreciation - Building","1411","expense_depreciation","l10n_th.chart","False"
|
||||
"a_equipment_dept","Accumulated Depreciation - Equipment","1421","expense_depreciation","l10n_th.chart","False"
|
||||
"a_input_vat","Input VAT","1510","asset_current","l10n_th.chart","False"
|
||||
"a_wht_income","Withholding Income Tax","1520","asset_current","l10n_th.chart","False"
|
||||
"a_pay","Account Payable","2101","liability_payable","l10n_th.chart","True"
|
||||
"a_accr_exp","Accrued Expenses","2102","liability_current","l10n_th.chart","True"
|
||||
"a_uninvoiced_receipts","Uninvoiced Receipts","2103","liability_current","l10n_th.chart","True"
|
||||
"a_loan","Loans","2200","liability_current","l10n_th.chart","True"
|
||||
"a_output_vat","Output VAT","2310","liability_current","l10n_th.chart","False"
|
||||
"a_wht","Withholding Tax","2320","liability_current","l10n_th.chart","False"
|
||||
"a_common_stock","Capital Stock","3100","equity","l10n_th.chart","False"
|
||||
"a_retained_earnings","Retained Earnings","3200","equity","l10n_th.chart","False"
|
||||
"a_dividends","Dividends","3300","equity","l10n_th.chart","False"
|
||||
"a_income_summary","Income Summary","3400","equity","l10n_th.chart","False"
|
||||
"a_sales","Income","4100","income","l10n_th.chart","False"
|
||||
"a_income_gain","Gain Account","4200","income_other","l10n_th.chart","False"
|
||||
"a_exp_cogs","Cost of Revenue","5100","expense_direct_cost","l10n_th.chart","False"
|
||||
"a_exp_salary","Salary","5201","expense","l10n_th.chart","False"
|
||||
"a_exp_rent","Rent","5202","expense","l10n_th.chart","False"
|
||||
"a_exp_office","Office Expenses","5203","expense","l10n_th.chart","False"
|
||||
"a_exp_interest","Interest expenses","5300","expense","l10n_th.chart","False"
|
||||
"a_exp_income_tax","Income tax expenses","5400","expense","l10n_th.chart","False"
|
||||
"a_exp_loss","Loss Account","5500","expense","l10n_th.chart","False"
|
||||
|
|
|
@ -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_th.chart')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="tax_group_1" model="account.tax.group">
|
||||
<field name="name">TAX 1%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_2" model="account.tax.group">
|
||||
<field name="name">TAX 2%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_3" model="account.tax.group">
|
||||
<field name="name">TAX 3%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_5" model="account.tax.group">
|
||||
<field name="name">TAX 5%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_vat_7" model="account.tax.group">
|
||||
<field name="name">VAT 7%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,286 @@
|
|||
<?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.th"/>
|
||||
<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_out_tax_title" model="account.report.line">
|
||||
<field name="name">Output Tax</field>
|
||||
<field name="aggregation_formula">OUTPUTTAX_SALEAMOUNT.balance + OUTPUTTAX_SALE_ZERO.balance + OUTPUTTAX_EXEMPTED.balance + OUTPUTTAX_TAX.balance</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_out_tax_sale" model="account.report.line">
|
||||
<field name="name">1. Sales amount</field>
|
||||
<field name="code">OUTPUTTAX_SALEAMOUNT</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_sale_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">1. Sales amount</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax_less_sales_0_rate" model="account.report.line">
|
||||
<field name="name">2. Less sales subject to 0% tax rate </field>
|
||||
<field name="code">OUTPUTTAX_SALE_ZERO</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_less_sales_0_rate_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">2. Less sales subject to 0% tax rate </field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax_less_exempted_sales" model="account.report.line">
|
||||
<field name="name">3. Less exempted sales</field>
|
||||
<field name="code">OUTPUTTAX_EXEMPTED</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_less_exempted_sales_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">3. Less exempted sales</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax_taxable_sales_amount" model="account.report.line">
|
||||
<field name="name">4. Taxable sales amount(1. -2. -3.)</field>
|
||||
<field name="aggregation_formula">OUTPUTTAX_SALEAMOUNT.balance-(OUTPUTTAX_SALE_ZERO.balance+OUTPUTTAX_EXEMPTED.balance)</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax" model="account.report.line">
|
||||
<field name="name">5. Output tax</field>
|
||||
<field name="code">OUTPUTTAX_TAX</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">5. Output tax</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_input_tax_title" model="account.report.line">
|
||||
<field name="name">Input Tax</field>
|
||||
<field name="code">INPUTTAX</field>
|
||||
<field name="aggregation_formula">6_PURCHASE_AMOUNT_THAT_IS_ENTITLED_TO_DEDUCTION_OF_INPUT_TAX_FROM_OUTPUT_TAX_IN_TAX_COMPUTATION.balance + INPUTTAX_TAX.balance</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_input_tax_purchase_from_out_tax" model="account.report.line">
|
||||
<field name="name">6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation</field>
|
||||
<field name="code">6_PURCHASE_AMOUNT_THAT_IS_ENTITLED_TO_DEDUCTION_OF_INPUT_TAX_FROM_OUTPUT_TAX_IN_TAX_COMPUTATION</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_input_tax_purchase_from_out_tax_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_input_tax" model="account.report.line">
|
||||
<field name="name">7. Input tax (according to invoice of purchase amount in 6.)</field>
|
||||
<field name="code">INPUTTAX_TAX</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_input_tax_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">7. Input tax (according to invoice of purchase amount in 6.)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_vat" model="account.report.line">
|
||||
<field name="name">Value Added Tax</field>
|
||||
<field name="aggregation_formula">10_EXCESS_TAX_PAYMENT_CARRIED_FORWARD_FROM_LAST_PERIOD.balance</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_vat_payable" model="account.report.line">
|
||||
<field name="name">8. Tax payable (5. minus 7. (if 5. is greater than 7.))</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_vat_payable_balance" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">OUTPUTTAX_TAX.balance - INPUTTAX_TAX.balance</field>
|
||||
<field name="subformula">if_above(THB(0))</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_vat_excess" model="account.report.line">
|
||||
<field name="name">9. Excess tax payable (7. minus 5. (if 5. is less than 7.))</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_vat_excess_balance" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">INPUTTAX_TAX.balance - OUTPUTTAX_TAX.balance</field>
|
||||
<field name="subformula">if_above(THB(0))</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_vat_payment_last_period" model="account.report.line">
|
||||
<field name="name">10. Excess tax payment carried forward from last period</field>
|
||||
<field name="code">10_EXCESS_TAX_PAYMENT_CARRIED_FORWARD_FROM_LAST_PERIOD</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_vat_payment_last_period_formula" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">external</field>
|
||||
<field name="formula">sum</field>
|
||||
<field name="subformula">editable;rounding=2</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_net_vat" model="account.report.line">
|
||||
<field name="name">Net Tax</field>
|
||||
<field name="aggregation_formula">11_NET_TAX_PAYABLE_IF_8_IS_GREATER_THAN_10.balance + 12_NET_EXCESS_TAX_PAYABLE_IF_10_IS_GREATER_THAN_8_OR_9_PLUS_10.balance</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_net_vat_payable" model="account.report.line">
|
||||
<field name="name">11. Net tax payable (if 8. is greater than 10.)</field>
|
||||
<field name="code">11_NET_TAX_PAYABLE_IF_8_IS_GREATER_THAN_10</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_net_vat_payable_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">11. Net tax payable (if 8. is greater than 10.)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_net_vat_excess" model="account.report.line">
|
||||
<field name="name">12. Net excess tax payable ((if 10. is greater than 8.) or (9. plus 10.))</field>
|
||||
<field name="code">12_NET_EXCESS_TAX_PAYABLE_IF_10_IS_GREATER_THAN_8_OR_9_PLUS_10</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_net_vat_excess_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">12. Net excess tax payable ((if 10. is greater than 8.) or (9. plus 10.))</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="tax_report_pnd53" model="account.report">
|
||||
<field name="name">PND53</field>
|
||||
<field name="root_report_id" ref="account.generic_tax_report" />
|
||||
<field name="country_id" ref="base.th" />
|
||||
<field name="availability_condition">country</field>
|
||||
<field name="column_ids">
|
||||
<record id="tax_report_pnd53_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_total_income_pnd53_line" model="account.report.line">
|
||||
<field name="name">Total Income</field>
|
||||
<field name="code">INCOME_PND53</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_income_pnd53" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">Income PND53</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_total_remittance_pnd53_line" model="account.report.line">
|
||||
<field name="name">Total Remittance</field>
|
||||
<field name="code">P53</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_remittance_pnd53" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">PND53</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_surcharge_pnd53_line" model="account.report.line">
|
||||
<field name="name">Surcharge</field>
|
||||
<field name="code">S53</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_surcharge_pnd53" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">SUR53</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_total_pnd53_line" model="account.report.line">
|
||||
<field name="name">Total</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_pnd53" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">P53.balance + S53.balance</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="tax_report_pnd3" model="account.report">
|
||||
<field name="name">PND3</field>
|
||||
<field name="root_report_id" ref="account.generic_tax_report" />
|
||||
<field name="country_id" ref="base.th" />
|
||||
<field name="availability_condition">country</field>
|
||||
<field name="column_ids">
|
||||
<record id="tax_report_pnd3_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_total_income_pnd3_line" model="account.report.line">
|
||||
<field name="name">Total Income</field>
|
||||
<field name="code">INCOME_PND3</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_income_pnd3" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">Income PND3</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_total_remittance_pnd3_line" model="account.report.line">
|
||||
<field name="name">Total Remittance</field>
|
||||
<field name="code">P3</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_remittance_pnd3" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">PND3</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_surcharge_pnd3_line" model="account.report.line">
|
||||
<field name="name">Surcharge</field>
|
||||
<field name="code">S3</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_surcharge_pnd3" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">SUR3</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_total_pnd3_line" model="account.report.line">
|
||||
<field name="name">Total</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_pnd3" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">P3.balance + S3.balance</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,507 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="tax_input_vat" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Input VAT 7%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="7"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_vat_7"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_output_vat" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Output VAT 7%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="7"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_vat_7"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_sale_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_sale_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_input_vat_0" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Input VAT 0%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_output_vat_0" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Output VAT 0%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_sales_0_rate_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_sales_0_rate_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_input_vat_exempted" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Input VAT Exempted</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_output_vat_exempted" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Output VAT Exempted</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_exempted_sales_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_exempted_sales_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_1" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 1% (Transportation)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-1"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_2" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 2% (Advertising)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-2"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_2"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_3" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 3% (Service)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-3"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_3"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_5" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 5% (Rental)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-5"/>
|
||||
<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, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_1" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 1% (Transportation)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-1"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_2" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 2% (Advertising)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-2"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_2"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_3" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 3% (Service)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-3"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_3"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_5" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 5% (Rental)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-5"/>
|
||||
<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, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_1" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 1% (Transportation)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-1"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_2" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 2% (Advertising)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-2"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_2"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_3" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 3% (Service)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-3"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_3"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_5" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 5% (Rental)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-5"/>
|
||||
<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, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- CHART OF Template -->
|
||||
|
||||
<record id="chart" model="account.chart.template">
|
||||
<field name="name">Thailand - Chart of Accounts</field>
|
||||
<field name="cash_account_code_prefix">1100</field>
|
||||
<field name="bank_account_code_prefix">1110</field>
|
||||
<field name="transfer_account_code_prefix">16</field>
|
||||
<field name="currency_id" ref="base.THB"/>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="chart" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="a_recv"/>
|
||||
<field name="property_account_payable_id" ref="a_pay"/>
|
||||
<field name="property_account_expense_categ_id" ref="a_exp_cogs"/>
|
||||
<field name="property_account_income_categ_id" ref="a_sales"/>
|
||||
<field name="income_currency_exchange_account_id" ref="a_income_gain"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="a_exp_loss"/>
|
||||
<field name="default_pos_receivable_account_id" ref="a_recv_pos"/>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue