// stocks : debug and optimisations

This commit is contained in:
dSevere
2011-10-25 16:31:26 +00:00
parent 1f0c69278f
commit 7c24222885
8 changed files with 63 additions and 86 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ class OrderCore extends ObjectModel
*/
protected function setProductCurrentStock(&$product)
{
$product['current_stock'] = StockManagerFactory::getManager()->getProductRealQuantities($product['product_id'], $product['product_attribute_id'], null, true);
$product['current_stock'] = StockManagerFactory::getManager()->getProductPhysicalQuantities($product['product_id'], $product['product_attribute_id'], null, true);
}
/**