Closed
Description
Preconditions (*)
- Magento CE 2.2.3
Steps to reproduce (*)
- Add a configurable product to cart
- Complete the order with any payment method allowed to invoice
- Invoice the order from Admin and debug this action
Expected result (*)
- The invoice is treated as last invoice and Magento\Sales\Model\Order\Invoice\Total\Tax::collect() line 94 - 97 is executed.
Actual result (*)
- The invoice is not treated as last invoice and Magento\Sales\Model\Order\Invoice\Total\Tax::collect() line 99 - 105 is executed.
The child item of configurable order item is treated as dummy but it's involved in the test if the item is to be invoiced completely. This issue