Merge pull request #7104 from tuxgasy/develop_shipment_failed_no_error
Fix #7103 : No error message on validate shipment if stock movement failed
This commit is contained in:
commit
0eb6a25342
@ -716,6 +716,7 @@ class Expedition extends CommonObject
|
||||
if ($result < 0) {
|
||||
$error++;
|
||||
$this->errors[]=$mouvS->error;
|
||||
$this->errors = array_merge($this->errors, $mouvS->errors);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -729,6 +730,7 @@ class Expedition extends CommonObject
|
||||
if ($result < 0) {
|
||||
$error++;
|
||||
$this->errors[]=$mouvS->error;
|
||||
$this->errors = array_merge($this->errors, $mouvS->errors);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user