Skip to content

Commit efa45f1

Browse files
committed
ACP2E-1650:Create Shipment API
- resolved items get duplicated
1 parent 5cc5abf commit efa45f1

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Model/Order/Shipment

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Shipment/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ public function getOrderItem()
136136
$this->_orderItem = $this->getShipment()->getOrder()->getItemById($this->getOrderItemId());
137137
} else {
138138
$this->_orderItem = $this->_orderItemFactory->create()->load($this->getOrderItemId());
139+
$this->loadChildren();
139140
}
140-
$this->loadChildren();
141141
}
142142

143143
return $this->_orderItem;

0 commit comments

Comments
 (0)