Dolibarr possesses a vast array of built-in features that are disabled by default. Go to your system configuration settings and thoroughly explore the standard modules. You might find that the feature you want is already built into the core system for free.
: Adds multi-warehouse synchronization and serial/batch number tracking. Expert Accounting Dolibarr Modules Nulled And 11