undo lqtest modif, somebody else working on it

This commit is contained in:
liedekef 2007-01-05 18:20:47 +00:00
parent 4e005c9f8c
commit 844da2044c

View File

@ -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++;
}