Skip to content

Commit

Permalink
Fixed magento#15059 Cannot reorder from the first try
Browse files Browse the repository at this point in the history
  • Loading branch information
Shikha Mishra committed Feb 28, 2019
1 parent 13b0fe9 commit 8493e59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Sales/Model/AdminOrder/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ public function initFromOrder(\Magento\Sales\Model\Order $order)
}

$quote->getShippingAddress()->unsCachedItemsAll();
$quote->getBillingAddress()->unsCachedItemsAll();
$quote->setTotalsCollectedFlag(false);

$this->quoteRepository->save($quote);
Expand Down

0 comments on commit 8493e59

Please sign in to comment.