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