remove rollback
This commit is contained in:
parent
d7b770bb74
commit
7afdf2270f
@ -860,7 +860,6 @@ if (empty($reshook)) {
|
|||||||
// reopen order if necessary
|
// reopen order if necessary
|
||||||
if ($object->status == CommandeFournisseur::STATUS_RECEIVED_COMPLETELY) {
|
if ($object->status == CommandeFournisseur::STATUS_RECEIVED_COMPLETELY) {
|
||||||
if ($object->setStatus($user, CommandeFournisseur::STATUS_RECEIVED_PARTIALLY) < 0) {
|
if ($object->setStatus($user, CommandeFournisseur::STATUS_RECEIVED_PARTIALLY) < 0) {
|
||||||
$db->rollback();
|
|
||||||
setEventMessages($object->error, $object->errors, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
$action = '';
|
$action = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user