diff --git a/classes/Product.php b/classes/Product.php index 6bfdc8c53..d2e943965 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -5278,7 +5278,10 @@ class ProductCore extends ObjectModel WHERE id_product='.(int)$this->id.Shop::addSqlRestriction() ); else + { + $this->setFieldsToUpdate(array('advanced_stock_management' => true)); $this->save(); + } } /**