From 844da2044cf26970975e5991117dfcc1e2006bca Mon Sep 17 00:00:00 2001 From: liedekef Date: Fri, 5 Jan 2007 18:20:47 +0000 Subject: [PATCH] undo lqtest modif, somebody else working on it --- htdocs/expedition/expedition.class.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/expedition/expedition.class.php b/htdocs/expedition/expedition.class.php index 13236efba78..c01e8aad24b 100644 --- a/htdocs/expedition/expedition.class.php +++ b/htdocs/expedition/expedition.class.php @@ -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++; }