STOCK_MUST_BE_ENOUGH_FOR_SHIPMENT

This commit is contained in:
BB2A Anthony Berton 2022-06-27 09:00:57 +02:00
parent e8202894fb
commit b046d92efb

View File

@ -933,7 +933,7 @@ class Expedition extends CommonObject
return -1;
}
if ($conf->global->STOCK_MUST_BE_ENOUGH_FOR_SHIPMENT) {
if (!empty($conf->global->STOCK_MUST_BE_ENOUGH_FOR_SHIPMENT)) {
$product = new Product($this->db);
$product->fetch($fk_product);