Needs at least Dolibarr 3.5

Earlier versions don't have the required hook