Hello there,
I have a look on ton of bugtrack opened by Marcos about trigger.
I started by supplier and mainly trigger doesnt cancel action attached to
it. So my question is: is it by design or Dolibarr should cancel action if
trigger failed ?
I had a quick look on wiki but I didnt fi
Dolibarr should cancel action if return code of triggers are < 0.
If at least one trigger return < 0, then actions are canceled. So we must
test if return of $interface->run_trigger is < 0 to know if we rollback or
not. This logic may not be implemented everywhere but this is how it should.
2014-
Ok thanks Laurent.
I will do that.
Cedric
De : dolibarr-dev-bounces+c.gross=kreiz-it...@nongnu.org
[mailto:dolibarr-dev-bounces+c.gross=kreiz-it...@nongnu.org] De la part de
Destailleur Laurent
Envoyé : lundi 23 juin 2014 23:37
À : Posts about Dolibarr ERP & CRM development and coding