remove rollback

This commit is contained in:
Christophe Battarel 2023-04-27 08:44:22 +02:00
parent d7b770bb74
commit 7afdf2270f

View File

@ -860,7 +860,6 @@ if (empty($reshook)) {
// reopen order if necessary
if ($object->status == CommandeFournisseur::STATUS_RECEIVED_COMPLETELY) {
if ($object->setStatus($user, CommandeFournisseur::STATUS_RECEIVED_PARTIALLY) < 0) {
$db->rollback();
setEventMessages($object->error, $object->errors, 'errors');
$error++;
$action = '';