Skip to content
Snippets Groups Projects
Commit 87f7771a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1532 from defrance69/patch-5

Update product.class.php
parents 0bda82e7 32090eee
No related branches found
No related tags found
No related merge requests found
......@@ -1487,6 +1487,8 @@ class Product extends CommonObject
// We should not load stock at each fetch. If someone need stock, he must call load_stock after fetch.
//$res=$this->load_stock();
//return $res;
// ok we don't load stock but we init the stock_warehouse array
$this->stock_warehouse = Array();
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment