The early payment cash discount functionality was merged in 16.0. This PR allows for the behavior to be as localization specific as possible. This concerns : The tax computation (some countries leave it untouched after the discount, some countries discount it, and Belgium has a mixed behaviour) The account in which the cash difference resulting of the cash discount should be put. task- 2983913 related to #99572 closes odoo/odoo#102032 X-original-commit: 591757902dcdf1e3609d9c5ae23e2b134ee8e4da Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: Camille Spiritus (casp) <casp@odoo.com>
21 lines
1.3 KiB
XML
21 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="l10n_tw_chart_template" model="account.chart.template">
|
|
<field name="use_anglo_saxon" eval="True"/>
|
|
<field name="property_account_receivable_id" ref="tw_119100"/>
|
|
<field name="property_account_payable_id" ref="tw_217100"/>
|
|
<field name="property_account_expense_categ_id" ref="tw_511100"/>
|
|
<field name="property_account_income_categ_id" ref="tw_411100"/>
|
|
<field name="property_stock_account_input_categ_id" ref="tw_217150"/>
|
|
<field name="property_stock_account_output_categ_id" ref="tw_123150"/>
|
|
<field name="property_stock_valuation_account_id" ref="tw_123100"/>
|
|
<field name="income_currency_exchange_account_id" ref="tw_718100"/>
|
|
<field name="expense_currency_exchange_account_id" ref="tw_718200"/>
|
|
<field name="default_cash_difference_income_account_id" ref="tw_718500"/>
|
|
<field name="default_cash_difference_expense_account_id" ref="tw_718600"/>
|
|
<field name="default_pos_receivable_account_id" ref="tw_119150"/>
|
|
<field name="account_journal_early_pay_discount_loss_account_id" ref="tw_411400"/>
|
|
<field name="account_journal_early_pay_discount_gain_account_id" ref="tw_512400"/>
|
|
</record>
|
|
</odoo>
|