-
Notifications
You must be signed in to change notification settings - Fork 30.2k
[FW][FIX] sale: take line discount in global discount calculation #193291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FW][FIX] sale: take line discount in global discount calculation #193291
Conversation
|
@anko-odoo cherrypicking of pull request #191211 failed. stdout: Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?). In the former case, you may want to edit this PR message as well. More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
7 similar comments
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
If discount was appplied to sale order line and user applied global discount, it would have been calculated based on unsdicounted amount resulting in too high global discount as global discount should be calculated based on price after line discount. opw-4349320 X-original-commit: 0062ba1
e788eda to
f860c77
Compare
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |
1 similar comment
|
@anko-odoo this forward port of #191211 is awaiting action (not merged or closed). |

If discount was appplied to sale order line and user applied global discount, it would have been calculated based on unsdicounted amount resulting in too high global discount as global discount should be calculated based on price after line discount.
opw-4349320
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #191211