FIX can validate shipment without stock movement (#31780)

This commit is contained in:
lvessiller-opendsi 2024-11-12 14:25:36 +01:00 committed by GitHub
parent 67bcc242db
commit d5e2f89edc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2295,7 +2295,11 @@ class Expedition extends CommonObject
$error ++;
}
return $error;
if (!$error) {
return 1;
} else {
return -1;
}
}
/**