case when it s already in partial and we cancel the last product to send

This commit is contained in:
Marion Muszynski 2016-09-15 10:24:53 +02:00
parent b6a69ec6a3
commit ac2de48ccc

View File

@ -539,6 +539,8 @@ class AdminOrders extends AdminTab
`id_order_state` = '.Configuration::get('PS_OS_SHIPPING').',
`date_upd` = NOW()
');
$newOS = new OrderState((int)(Configuration::get('PS_OS_SHIPPING')), $order->id_lang);
Module::hookExec('updateOrderStatus', array('newOrderStatus' => $newOS, 'id_order' => (int)($order->id)));
}
}
}