Skip to content

Commit c9d0dc5

Browse files
committed
Fix has been added
1 parent 5ee9e62 commit c9d0dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Service/InvoiceService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private function prepareItemsQty(
194194
): array {
195195
foreach ($order->getAllItems() as $orderItem) {
196196
if (isset($orderItemsQtyToInvoice[$orderItem->getId()])) {
197-
if ($orderItem->isDummy() && $orderItem->getHasChildren()) {
197+
if ($orderItem->getHasChildren()) {
198198
$orderItemsQtyToInvoice = $this->setChildItemsQtyToInvoice($orderItem, $orderItemsQtyToInvoice);
199199
}
200200
} else {

0 commit comments

Comments
 (0)