Units implementation in dolibarr