From 79c476b11eb33488066d3583f70683aa16aa11ce Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Thu, 29 Jul 2021 16:46:44 +0100 Subject: [PATCH] Fix to prevent issue when MSI is enabled --- Controller/Adminhtml/Order/MassOrderShip.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Controller/Adminhtml/Order/MassOrderShip.php b/Controller/Adminhtml/Order/MassOrderShip.php index 2dabf97..38993d2 100644 --- a/Controller/Adminhtml/Order/MassOrderShip.php +++ b/Controller/Adminhtml/Order/MassOrderShip.php @@ -88,6 +88,7 @@ public function execute() try { // Save created shipment and order + $shipment->getExtensionAttributes()->setSourceCode('default'); $shipment->save(); $shipment->getOrder()->save();