Skip to content

Commit 692b5e1

Browse files
committed
MAGETWO-53060: Cannot refund order partially
1 parent a5fa3af commit 692b5e1

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private function isQtyAvailable($qty, \Magento\Sales\Model\Order\Item $orderItem
170170
*/
171171
public function setQty($qty)
172172
{
173-
$orderItem = $this->getOrderItemWithoutCaching();
173+
$orderItem = $this->getOrderItem();
174174
if ($orderItem->getIsQtyDecimal()) {
175175
$qty = (double)$qty;
176176
} else {

0 commit comments

Comments
 (0)