Allow qty to be negative
This commit is contained in:
parent
45c8bbbf74
commit
14e68ea8f9
@ -1703,7 +1703,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
$this->error='ErrorBadValueForParameterWarehouse';
|
$this->error='ErrorBadValueForParameterWarehouse';
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if ($qty <= 0)
|
if ($qty == 0)
|
||||||
{
|
{
|
||||||
$this->error='ErrorBadValueForParameterQty';
|
$this->error='ErrorBadValueForParameterQty';
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user