diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index dcb87c9dcbc..c648d3f5f4c 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -345,7 +345,7 @@ if ($action == "transfert_stock" && !$cancel) $pricedest = $pricesrc; $nbpiece = price2num(GETPOST("nbpiece", 'alphanohtml')); - + if ($object->hasbatch()) { $pdluo = new Productbatch($db);