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>
22 lines
1022 B
XML
22 lines
1022 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<!-- Chart template -->
|
|
|
|
<record id="pt_chart_template" model="account.chart.template">
|
|
<field name="property_account_receivable_id" ref="chart_2111"/>
|
|
<field name="property_account_payable_id" ref="chart_2211"/>
|
|
<field name="property_account_expense_id" ref="chart_311"/>
|
|
<field name="property_account_income_id" ref="chart_711"/>
|
|
<field name="property_account_income_categ_id" ref="chart_711"/>
|
|
<field name="property_account_expense_categ_id" ref="chart_311"/>
|
|
<field name="income_currency_exchange_account_id" ref="chart_7861"/>
|
|
<field name="expense_currency_exchange_account_id" ref="chart_692"/>
|
|
<field name="default_pos_receivable_account_id" ref="chart_2117"/>
|
|
<field name="account_journal_early_pay_discount_loss_account_id" ref="chart_682"/>
|
|
<field name="account_journal_early_pay_discount_gain_account_id" ref="chart_728"/>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|