Add param $idwarehouse to settodraft

This commit is contained in:
Laurent Destailleur
2017-11-14 01:29:28 +01:00
parent a12186a0b8
commit 59d9ab731e
2 changed files with 5 additions and 4 deletions

View File

@@ -416,7 +416,7 @@ class Commande extends CommonOrder
* Set draft status
*
* @param User $user Object user that modify
* @param int $idwarehouse Id warehouse to use for stock change.
* @param int $idwarehouse Warehouse ID to use for stock change (Used only if option STOCK_CALCULATE_ON_VALIDATE_ORDER is on)
* @return int <0 if KO, >0 if OK
*/
function set_draft($user, $idwarehouse=-1)