undo lqtest modif, somebody else working on it
This commit is contained in:
parent
4e005c9f8c
commit
844da2044c
@ -355,12 +355,6 @@ class Expedition extends CommonObject
|
||||
dolibarr_syslog("expedition.class.php::valid ".$this->error);
|
||||
return -3;
|
||||
}
|
||||
// correct the stock, since otherwise the available
|
||||
// stock will decrement again, since:
|
||||
// available = real stock - # commanded items for prod
|
||||
$product = new Product($this->db);
|
||||
$product->id = $obj->fk_product;
|
||||
$product->ajust_stock_commande($obj->qty, 1);
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user