[Dolibarr-dev] question about hooks order

2015-10-05 Par sujet Christophe Battarel
Hello, I have a question since a long time about hooks. If two modules or more implements the same hook, in which order are they executed ? I've made some tests but the results are not clear; in fact it seems that it depends on the order of the module activation ??? Best regards

Re: [Dolibarr-dev] question about hooks order

2015-10-05 Par sujet Jacques PYRAT
Laurent Destailleur (aka Eldy) a écrit le 05/10/2015 17:56 : There is no rule for hook order. So order is just "random". I will think to introduce something more predictable than random... You might look à SPIP paquet.xml that contains "necessite" and "utilise" wich as the abilititie to set

Re: [Dolibarr-dev] question about hooks order

2015-10-05 Par sujet Laurent Destailleur (aka Eldy)
There is no rule for hook order. So order is just "random". I will think to introduce something more predictable than random... 2015-10-05 16:33 GMT+02:00 Christophe Battarel < christophe.batta...@altairis.fr>: > Hello, > > I have a question since a long time about hooks. > > If two modules or