2
0
forked from Wavyzz/dolibarr

FIX check verif exped on delete order

This commit is contained in:
atm-quentin
2018-03-13 09:34:50 +01:00
parent d045dca003
commit 6c7a5cebdf

View File

@@ -3126,6 +3126,7 @@ class Commande extends CommonOrder
if ($result < 0) $error++;
// End call triggers
}
if($this->nb_expedition()!=0)$error++;
//TODO: Check for error after each action. If one failed we rollback, don't waste time to do action if previous fail
if (! $error)