Closed
Description
Preconditions (*)
- Magento ver. 2.3.5-p1
- Magento 2.4-develop
Steps to reproduce (*)
- create a cart with exactly one configurable product
- complete the order with any payment method
- invoice the order from Admin (only if the invoice has not already been created)
Expected result (*)
The invoice is treated as last invoice (\Magento\Sales\Model\Order\Invoice::isLast returns true)
e.g., invoice with simple product
Actual result (*)
The invoice is not treated as last invoice (\Magento\Sales\Model\Order\Invoice::isLast returns false)
similar issue is #22283
isLast should skip the dummy items to avoid the problem.
extra info: if the order contains extra fees (for example the costs of cash on delivery) taxes on these are not calculated in the total and the total due is greater than 0
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedOnce P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects critical data or functionality and forces users to employ a workaround.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Done