odoo/odoo#265705

Created by fw-bot
Merged at 714130f7e55b6cb309edd189f9a740895a601ded

Statuses:

label
odoo-dev:saas-18.4-18.0-opw-6145674-wrong-tax-behaviour-krip-528484-fw
head
960314827dc7b1fea94e9b538b83af1a356e1bbc
merged
6 days 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