- Add repartition lines on taxes - Link account tags directly to account.move.line; remove the tag_ids field from account.tag - Add a new report engine dedicated to tax reports, directly generating account tags. It is called as an alternate mode of generic tax report, with a dedicated "Use tax grids" toggle. >> The biggest change lies in the way the new tax report computes its values. Everything is now aggregated directly using the tags set on the account move lines. Thanks to that, modifying the configuration of a tax today will not impact the report for the previous periods anymore. This is a big improvement, as it means the report will keep on reflecting the values that were submitted to the state before, whatever the configuration change. - Add an audit char field to account.move.line telling with tax grids are impacted by the line, with the corresponding amount - Modify the behavior of cash basis taxes: the cash basis account is now used as the transition account, while the regular account given in tax declaration is used to store the final entry (it was the opposite before) - Modify every l10n_* module in order to keep them consistent with these changes closes odoo/odoo#32833 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
802 lines
36 KiB
XML
802 lines
36 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!--
|
|
# TVA - Taxe sur la Valeur Ajoutée
|
|
-->
|
|
<record model="account.tax.template" id="vat_25">
|
|
<field name="name">TVA due a 2.5% (TR)</field>
|
|
<field name="description">2.5%</field>
|
|
<field name="amount" eval="2.5"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_25"/>
|
|
<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_chtax_312a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_312b')],
|
|
}),
|
|
]"/>
|
|
<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_chtax_312a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_312b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_25_incl">
|
|
<field name="name">TVA due à 2.5% (Incl. TR)</field>
|
|
<field name="description">2.5% Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="2.5"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_25"/>
|
|
<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_chtax_312a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_312b')],
|
|
}),
|
|
]"/>
|
|
<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_chtax_312a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_312b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_25_purchase">
|
|
<field name="name">TVA 2.5% sur achat B&S (TR)</field>
|
|
<field name="description">2.5% achat</field>
|
|
<field name="amount" eval="2.5"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_25"/>
|
|
<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('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_25_purchase_incl">
|
|
<field name="name">TVA 2.5% sur achat B&S (Incl. TR)</field>
|
|
<field name="description">2.5% achat Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="2.5"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_25"/>
|
|
<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('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_25_invest">
|
|
<field name="name">TVA 2.5% sur invest. et autres ch. (TR)</field>
|
|
<field name="description">2.5% invest.</field>
|
|
<field name="amount" eval="2.5"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_25"/>
|
|
<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('ch_coa_1171'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1171'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_25_invest_incl">
|
|
<field name="name">TVA 2.5% sur invest. et autres ch. (Incl. TR)</field>
|
|
<field name="description">2.5% invest. Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="2.5"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_25"/>
|
|
<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('ch_coa_1171'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1171'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_37">
|
|
<field name="name">TVA due a 3.7% (TS)</field>
|
|
<field name="description">3.7%</field>
|
|
<field name="amount" eval="3.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_37"/>
|
|
<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_chtax_342a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_342b')],
|
|
}),
|
|
]"/>
|
|
<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_chtax_342a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_342b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_37_incl">
|
|
<field name="name">TVA due à 3.7% (Incl. TS)</field>
|
|
<field name="description">3.7% Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="3.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_37"/>
|
|
<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_chtax_342a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_342b')],
|
|
}),
|
|
]"/>
|
|
<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_chtax_342a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_342b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_37_purchase">
|
|
<field name="name">TVA 3.7% sur achat B&S (TS)</field>
|
|
<field name="description">3.7% achat</field>
|
|
<field name="amount" eval="3.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_37"/>
|
|
<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('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_37_purchase_incl">
|
|
<field name="name">TVA 3.7% sur achat B&S (Incl. TS)</field>
|
|
<field name="description">3.7% achat Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="3.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_37"/>
|
|
<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('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_37_invest">
|
|
<field name="name">TVA 3.7% sur invest. et autres ch. (TS)</field>
|
|
<field name="description">3.7% invest</field>
|
|
<field name="amount" eval="3.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_37"/>
|
|
<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('ch_coa_1171'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1171'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_37_invest_incl">
|
|
<field name="name">TVA 3.7% sur invest. et autres ch. (Incl. TS)</field>
|
|
<field name="description">3.7% invest Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="3.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_37"/>
|
|
<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('ch_coa_1171'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1171'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77">
|
|
<field name="name">TVA due a 7.7% (TN)</field>
|
|
<field name="description">7.7%</field>
|
|
<field name="amount" eval="7.7"/>
|
|
<field name="sequence" eval="0"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_77"/>
|
|
<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_chtax_302a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_302b')],
|
|
}),
|
|
]"/>
|
|
<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_chtax_302a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_302b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77_incl">
|
|
<field name="name">TVA due à 7.7% (Incl. TN)</field>
|
|
<field name="description">7.7% Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="7.7"/>
|
|
<field name="sequence" eval="0"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_77"/>
|
|
<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_chtax_302a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_302b')],
|
|
}),
|
|
]"/>
|
|
<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_chtax_302a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_302b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77_purchase_incl">
|
|
<field name="name">TVA 7.7% sur achat B&S (Incl. TN)</field>
|
|
<field name="description">7.7% achat Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="7.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="sequence" eval="0"/>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_77"/>
|
|
<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('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77_invest">
|
|
<field name="name">TVA 7.7% sur invest. et autres ch. (TN)</field>
|
|
<field name="description">7.7% invest.</field>
|
|
<field name="amount" eval="7.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_77"/>
|
|
<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('ch_coa_1171'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1171'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77_invest_incl">
|
|
<field name="name">TVA 7.7% sur invest. et autres ch. (Incl. TN)</field>
|
|
<field name="description">7.7% invest. Incl.</field>
|
|
<field name="price_include" eval="1"/>
|
|
<field name="amount" eval="7.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_77"/>
|
|
<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('ch_coa_1171'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1171'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_405')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_XO">
|
|
<field name="name">TVA due a 0% (Exportations)</field>
|
|
<field name="amount" eval="0.00"/>
|
|
<field name="description">0%</field>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_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_chtax_220_289')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
}),
|
|
]"/>
|
|
<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_chtax_220_289')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_O_exclude">
|
|
<field name="name">TVA 0% exclue</field>
|
|
<field name="description">0% excl.</field>
|
|
<field name="amount" eval="0.00"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">sale</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_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_chtax_230')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
}),
|
|
]"/>
|
|
<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_chtax_230')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_2200'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_O_import">
|
|
<field name="name">TVA 0% Importations de biens et services</field>
|
|
<field name="description">0% import.</field>
|
|
<field name="amount" eval="0.00"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_0"/>
|
|
</record>
|
|
|
|
<!--# 100% on import !! the tax percentage is 00-->
|
|
<record model="account.tax.template" id="vat_100_import">
|
|
<field name="name">100% dédouanement TVA</field>
|
|
<field name="description">100% imp.</field>
|
|
<field name="amount" eval="0.0"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="tax_group_id" ref="tax_group_tva_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_chtax_400')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_1171'),
|
|
}),
|
|
]"/>
|
|
<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_chtax_400')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_1171'),
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77_purchase_return">
|
|
<field name="name">TVA due a 7.7% (TN) (return)</field>
|
|
<field name="description">7.7% achat (return)</field>
|
|
<field name="amount" eval="-7.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="sequence" eval="0"/>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_382a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_382b')],
|
|
}),
|
|
]"/>
|
|
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'base',
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_382a')],
|
|
}),
|
|
(0,0, {
|
|
'factor_percent': 100,
|
|
'repartition_type': 'tax',
|
|
'account_id': ref('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_382b')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<record model="account.tax.template" id="vat_77_purchase">
|
|
<field name="name">TVA 7.7% sur achat B&S (TN)</field>
|
|
<field name="description">7.7% achat</field>
|
|
<field name="amount" eval="7.7"/>
|
|
<field name="amount_type">percent</field>
|
|
<field name="sequence" eval="0"/>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="type_tax_use">purchase</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('ch_coa_1170'),
|
|
'plus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
<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('ch_coa_1170'),
|
|
'minus_report_line_ids': [ref('account_tax_report_line_chtax_400')],
|
|
}),
|
|
]"/>
|
|
</record>
|
|
|
|
<!--# for reverse charge or VAT on Acquisition (group of taxes)-->
|
|
<record model="account.tax.template" id="vat_77_purchase_reverse">
|
|
<field name="description">7.7% achat</field>
|
|
<field name="name">TVA 7.7% sur achat service a l'etranger (reverse charge)</field>
|
|
<field name="amount_type">group</field>
|
|
<field name="type_tax_use">purchase</field>
|
|
<field name="chart_template_id" ref="l10nch_chart_template"/>
|
|
<field name="children_tax_ids" eval="[(6, 0, [ref('vat_77_purchase_return'), ref('vat_77_purchase')])]"/>
|
|
</record>
|
|
|
|
</odoo>
|