Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
d176840bfb
@ -4807,6 +4807,7 @@ class Product extends CommonObject
|
|||||||
* If ENTREPOT_EXTRA_STATUS set, filtering on warehouse status possible.
|
* If ENTREPOT_EXTRA_STATUS set, filtering on warehouse status possible.
|
||||||
*
|
*
|
||||||
* @param string $option '' = Load all stock info, also from closed and internal warehouses, 'nobatch', 'novirtual'
|
* @param string $option '' = Load all stock info, also from closed and internal warehouses, 'nobatch', 'novirtual'
|
||||||
|
* @param int $includedraftpoforvirtual Include draft status of PO for virtual stock calculation
|
||||||
* @return int < 0 if KO, > 0 if OK
|
* @return int < 0 if KO, > 0 if OK
|
||||||
* @see load_virtual_stock(), loadBatchInfo()
|
* @see load_virtual_stock(), loadBatchInfo()
|
||||||
*/
|
*/
|
||||||
@ -4881,6 +4882,7 @@ class Product extends CommonObject
|
|||||||
* Load value ->stock_theorique of a product. Property this->id must be defined.
|
* Load value ->stock_theorique of a product. Property this->id must be defined.
|
||||||
* This function need a lot of load. If you use it on list, use a cache to execute it one for each product id.
|
* This function need a lot of load. If you use it on list, use a cache to execute it one for each product id.
|
||||||
*
|
*
|
||||||
|
* @param int $includedraftpoforvirtual Include draft status of PO for virtual stock calculation
|
||||||
* @return int < 0 if KO, > 0 if OK
|
* @return int < 0 if KO, > 0 if OK
|
||||||
* @see load_stock(), loadBatchInfo()
|
* @see load_stock(), loadBatchInfo()
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user