Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
This commit is contained in:
commit
440c2d238a
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
|||
if (price2num($totalonlinkedelements, 'MT') == price2num($object->total_ht, 'MT')) {
|
||||
foreach ($object->linkedObjects['shipping'] as $element) {
|
||||
$ret = $element->setClosed();
|
||||
$this->errors = $element->errors;
|
||||
if ($ret < 0) {
|
||||
return (int) $ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue