Merge pull request #24641 from fappels/develop_order_msg

Add missing error message on modify order error.
This commit is contained in:
Laurent Destailleur 2023-04-28 19:59:17 +02:00 committed by GitHub
commit 54c8176cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1402,6 +1402,8 @@ if (empty($reshook)) {
$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref);
}
} else {
setEventMessages($object->error, $object->errors, 'errors');
}
}
} elseif ($action == 'confirm_shipped' && $confirm == 'yes' && $usercanclose) {