[-] BO: product price was changed on changing to advanced stock management #PSCFV-10996

This commit is contained in:
rGaillard committed 2013-11-18 12:04:09 +01:00
1 parent 8166bb662c
commit bd241a9c48
1 file changed
+3
+3
View File
@@ -5278,7 +5278,10 @@ class ProductCore extends ObjectModel
WHERE id_product='.(int)$this->id.Shop::addSqlRestriction() WHERE id_product='.(int)$this->id.Shop::addSqlRestriction()
); );
else else
{
$this->setFieldsToUpdate(array('advanced_stock_management' => true));
$this->save(); $this->save();
}
} }
/** /**