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>
7 lines
293 B
Python
7 lines
293 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
def _preserve_tag_on_taxes(cr, registry):
|
|
from odoo.addons.account.models.chart_template import preserve_existing_tags_on_taxes
|
|
preserve_existing_tags_on_taxes(cr, registry, 'l10n_th')
|