[-] BO: product price was changed on changing to advanced stock management #PSCFV-10996
This commit is contained in:
1 parent
8166bb662c
commit
bd241a9c48
1 file changed
+3
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user