odoo/odoo#265606

Created by fw-bot
Merged at de23c88b97782513d773fc25e5f9e1d8388b01d8

Statuses:

label
odoo-dev:saas-18.3-18.0-opw-6145674-wrong-tax-behaviour-krip-527859-fw
head
0a674740c4d0ed518f3a24e691e5de174720a4dc
merged
1 week ago by Krishna Arvindkumar Patel (krip)
odoo/odoo
18.0 #262147
saas-18.2 #265233
saas-18.3 #265606
saas-18.4 #265705
19.0 #265737
saas-19.1 #265808
saas-19.2 #265870
saas-19.3 #265962
master #266068

[FIX] sale_loyalty: prevent tax splitting on discount line

Steps to produce:

Issue:

Root cause:

Fix:

[1]https://github.com/odoo/odoo/blob/c6d9fa5873eb759846e9be5b66eedb8b00c5ac11/addons/account/models/partner.py#L151-L156
[2]https://github.com/odoo/odoo/blob/c6d9fa5873eb759846e9be5b66eedb8b00c5ac11/addons/sale_loyalty/models/sale_order.py#L296

opw-6145674

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #265233
Forward-Port-Of: #262147