mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Merge pull request #1532 from defrance69/patch-5
Update product.class.php
This commit is contained in:
@@ -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.
|
// We should not load stock at each fetch. If someone need stock, he must call load_stock after fetch.
|
||||||
//$res=$this->load_stock();
|
//$res=$this->load_stock();
|
||||||
//return $res;
|
//return $res;
|
||||||
|
// ok we don't load stock but we init the stock_warehouse array
|
||||||
|
$this->stock_warehouse = Array();
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user