Skip to content

Commit

Permalink
magento#37028: [Sales] Missing relation data when reorder
Browse files Browse the repository at this point in the history
- fix canceling parent order.
  • Loading branch information
DanK894 committed Jun 16, 2023
1 parent 6702635 commit eaa94f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/code/Magento/Sales/Model/AdminOrder/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,6 @@ public function createOrder()
$oldOrder->setRelationChildId($order->getId());
$oldOrder->setRelationChildRealId($order->getIncrementId());
$oldOrder->save();
$this->orderManagement->cancel($oldOrder->getEntityId());
$order->save();
}

Expand Down

0 comments on commit eaa94f1

Please sign in to comment.