Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/odooPublic

[FW][FIX] pos_loyalty: remove fixed tax from discount on orders#202355

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

fw-bot
Copy link
Contributor

Steps to reproduce the issue:

(Easier to reproduce with demo data)

  1. Create a Fixed Tax and assign it to a Product
  2. Open POS session, add Product to Order
  3. Add a Coupon Code: "10pc"
    • This code should give a 10% Discount on the Order
  4. The Discount Line includes the Fixed Tax amount and accounts for more than 10% of the Order Total

Explanation:

During the creation of the reward line, the fixed taxes are not excluded from discounts. While it is logical for percentage taxes to be included, as they become part of the discount, fixed taxes are added to the amount.

Fix reasoning:

The opposite issue was fixed in commit534de1e, adapting the code to javascript.

opw-4506550

Forward-Port-Of:#202182
Forward-Port-Of:#200175

Steps to reproduce the issue:(Easier to reproduce with demo data)1. Create a Fixed Tax and assign it to a Product2. Open POS session, add Product to Order3. Add a Coupon Code: "10pc"    - This code should give a 10% Discount on the Order4. The Discount Line includes the Fixed Tax amount and accounts for more than 10% of the Order TotalExplanation:During the creation of the reward line, the fixed taxes are not excluded from discounts.While it is logical for percentage taxes to be included, as they become part of the discount, fixed taxes are added to the amount.Fix reasoning:The opposite issue was fixed in commitodoo/odoo@534de1e, adapting the code to javascript.opw-4506550X-original-commit:a583857
@robodoo
Copy link
Contributor

Pull request status dashboard

@fw-bot
Copy link
ContributorAuthor

This PR targets saas-18.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info athttps://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoorobodoo added the forwardportThis PR was created by @fw-bot labelMar 18, 2025
@C3POdooC3POdoo added the OEthe report is linked to a support ticket (opw-...) labelMar 18, 2025
robodoo pushed a commit that referenced this pull requestMar 24, 2025
Steps to reproduce the issue:(Easier to reproduce with demo data)1. Create a Fixed Tax and assign it to a Product2. Open POS session, add Product to Order3. Add a Coupon Code: "10pc"    - This code should give a 10% Discount on the Order4. The Discount Line includes the Fixed Tax amount and accounts for more than 10% of the Order TotalExplanation:During the creation of the reward line, the fixed taxes are not excluded from discounts.While it is logical for percentage taxes to be included, as they become part of the discount, fixed taxes are added to the amount.Fix reasoning:The opposite issue was fixed in commit534de1e, adapting the code to javascript.opw-4506550closes#202355X-original-commit:a583857Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>Signed-off-by: Robin Engels (roen) <roen@odoo.com>
@fw-botfw-bot deleted the saas-18.2-16.0-opw-4506550-loyalty_fixed_tax-stpa-423611-fw branchMarch 31, 2025 16:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
forwardportThis PR was created by @fw-botOEthe report is linked to a support ticket (opw-...)
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@fw-bot@robodoo@C3POdoo@stpa-odoo

[8]ページ先頭

©2009-2025 Movatter.jp