Back to blog
5 min read

Automating your Dolibarr ERP with custom modules

DolibarrERPPHPAutomatisation
Automating your Dolibarr ERP with custom modules

Context

VOGLIO BENE is an Italian products e-commerce importer based in Montpellier. With ~1400 references, a B2B WooCommerce site, and Dolibarr as ERP, the company needed to automate its processes for better efficiency.

Over 3 years of collaboration, I developed more than 10 custom Dolibarr modules. Here are the key lessons.

Game-changing modules

QuickCount — Inventory reimagined

QuickCount module interface for inventory

Before QuickCount, inventory required 4 people over 2 days with paper lists. The module offers a swipe-style interface optimized for tablets, with a multi-user locking system.

Result: Inventory time reduced by 60%, counting errors reduced by 90%.

B2Sync — The end of double entry

Every B2B WooCommerce order was manually re-entered into Dolibarr. B2Sync automatically syncs orders, inventory, payment statuses and shipment tracking.

Result: Manual entry eliminated, 50+ orders/day processed automatically.

Commission V2 — Conflict-free commissions

Sales commission calculation was done on spreadsheets, causing errors and disputes. The module automates calculation with configurable rules per product and category.

Sales commissions dashboard

Result: Zero disputes since implementation, complete traceability.

Dolibarr patterns that work

After 10+ modules, here are the patterns I recommend:

  1. Use the hook system rather than modifying core
  2. Follow Dolibarr naming conventions for compatibility
  3. Create admin interfaces in each module for user autonomy
  4. Log everything — silent crons are a debugging nightmare
  5. Version SQL scripts — migrations must be reproducible

Conclusion

Dolibarr is a powerful but underused ERP. With custom modules, you can automate 80% of repetitive tasks and free the team for higher-value work.