mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX #30836
This commit is contained in:
parent
10924547ea
commit
538ab5a9f3
|
|
@ -766,8 +766,8 @@ if (empty($reshook)) {
|
|||
if ($lines[$i]->fk_product > 0) {
|
||||
// line without lot
|
||||
if ($lines[$i]->entrepot_id == 0) {
|
||||
// single warehouse shipment line
|
||||
$stockLocation = 0;
|
||||
// single warehouse shipment line or line in several warehouses context but with warehouse not defined
|
||||
$stockLocation = "entl".$line_id;
|
||||
$qty = "qtyl".$line_id;
|
||||
$line->id = $line_id;
|
||||
$line->entrepot_id = GETPOST($stockLocation, 'int');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user