Closed
Description
Preconditions (*)
- Magento 2.3.6
- Magento 2.4-develop
- Free shipping is enabled
Steps to reproduce (*)
- Navigate to Stores / Settings / Configuration / Sales / Tax
- Set Catalog Prices and Apply Discount on Prices to Including Tax
- Navigate to Sores / Tax Rules / Add New Tax Rule
- Create a rule for all USA with 10% tax rate and apply it
- Navigate to Marketing / Cart Price Rules and Add New Rule
- Create a rule with 100% discount for all users
- Make an order on Storefront:
- choose Free Shipping
- apply coupon code
- Navigate to Sales / Orders and open your order
- Create an invoice for the order and open it
Expected result (*)
- An invoice is created over 0,00$
Actual result (*)
I'm suspect this bug was introduced in this commit (MC-35675):
2dbab41
It doesn't allow GrandTotals to go below zero, but the Tax Totals will add the discounted Tax, expecting that it was deducted before, resulting in a Invoice which is never smaller than the tax amount (instead of being 0)
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done