Skip to content

Invoice order with only 1 configurable product is not treated as last invoice [CE 2.2.3] #22283

Closed
@qlhu

Description

@qlhu

Preconditions (*)

  1. Magento CE 2.2.3

Steps to reproduce (*)

  1. Add a configurable product to cart
  2. Complete the order with any payment method allowed to invoice
  3. Invoice the order from Admin and debug this action

Expected result (*)

  1. The invoice is treated as last invoice and Magento\Sales\Model\Order\Invoice\Total\Tax::collect() line 94 - 97 is executed.

Actual result (*)

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions