Merge pull request #12642 from frederic34/patch-11

fix #12628
This commit is contained in:
Laurent Destailleur 2019-12-09 13:54:20 +01:00 committed by GitHub
commit 94ae8e07af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -699,7 +699,7 @@ if (empty($reshook))
if ($lines[$i]->entrepot_id > 0)
{
// single warehouse shipment line
if ($lines[i]->entrepot_id == $lotStock->warehouseid)
if ($lines[$i]->entrepot_id == $lotStock->warehouseid)
{
$lineIdToAddLot = $line_id;
}