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

This commit is contained in:
rGaillard
2013-11-18 12:04:09 +01:00
parent 8166bb662c
commit bd241a9c48
+3
View File
@@ -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();
}
}
/**