FIX can validate shipment without stock movement (#31780)
This commit is contained in:
parent
67bcc242db
commit
d5e2f89edc
1 changed files with 5 additions and 1 deletions
|
|
@ -2295,7 +2295,11 @@ class Expedition extends CommonObject
|
|||
$error ++;
|
||||
}
|
||||
|
||||
return $error;
|
||||
if (!$error) {
|
||||
return 1;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue