merge
This commit is contained in:
parent
029e1debdc
commit
b5dac0e5f5
@ -2162,7 +2162,7 @@ class Expedition extends CommonObject
|
||||
} else {
|
||||
$qty = $obj->edbqty;
|
||||
}
|
||||
if ($qty <= 0) {
|
||||
if ($qty <= 0 || ($qty < 0 && !getDolGlobalInt('SHIPMENT_ALLOW_NEGATIVE_QTY'))) {
|
||||
continue;
|
||||
}
|
||||
dol_syslog(get_class($this) . "::valid movement index " . $i . " ed.rowid=" . $obj->rowid . " edb.rowid=" . $obj->edbrowid);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user