FIX Can receipt of a product that required lot after disabling stock and
lot module
This commit is contained in:
parent
d1c66059cd
commit
485fe0fc62
@ -240,7 +240,7 @@ if (empty($reshook))
|
||||
$stockLocation = "ent1".$i."_0";
|
||||
$qty = "qtyl".$i;
|
||||
|
||||
if ($objectsrc->lines[$i]->product_tobatch) // If product need a batch number
|
||||
if (!empty($conf->productbatch->enabled) && $objectsrc->lines[$i]->product_tobatch) // If product need a batch number
|
||||
{
|
||||
if (GETPOSTISSET($batch))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user