Discover powerful Dolibarr extensions designed to automate your business processes

Fuel Storage & Distribution turns Dolibarr into a complete downstream Oil & Gas ERP dedicated to the storage, depot operation, distribution and marketing of petroleum products. It is designed for fuel depots, storage terminals, petroleum distributors and logistics operators that receive product from refineries or importers, store it in tank farms, and deliver it to service stations, industrial customers, mines, cement plants, construction sites and transport fleets.
The module is built entirely on the official Dolibarr development standards with an object-oriented, documented, modular and easily maintainable architecture. All commercial operations (quotes, orders, invoices) reuse native Dolibarr objects, so the module enriches rather than replaces the ERP core.
· Petroleum depots & storage terminals
· Storage tanks / reservoirs with real-time levels
· Petroleum products & lubricants library
· Stock movements & inventory
· Supplier procurement with a supply-lifecycle Kanban
· Receptions & unloading control
· Customer orders driven by a distribution Kanban
· Loading notes & delivery notes
· Delivery tours & fleet routing
· Tanker-truck fleet & drivers (ADR)
· Customer service stations & industrial clients
· Weighbridge weighings & flow meters
· Laboratory quality analyses
· Technical losses & evaporation tracking
· HSE incidents & environmental monitoring
· Equipment & fleet maintenance
· Document vault (DMS) & activity journal
· Financial follow-up & decision reporting
A brand-new petroleum-sector visual identity was created around a dedicated colour palette: petrol blue, night blue, energy orange, safety red, metallic grey and white. The interface is fully responsive (desktop, tablet, mobile), dark-mode friendly, and uses professional Font-Awesome iconography, badges and dynamic widgets.
· Hero banner — a night-blue hero header with the current date and live subtitle.
· Six real-time alert tiles — low tank levels, low product stock, expiring documents, expiring ADR validities, maintenance due, and open HSE incidents.
· Tank fill gauges — animated vertical gauges showing the fill percentage of the most critical reservoirs, colour-coded (red / amber / petrol) by level.
· Four KPI zones — Storage & Depots, Distribution & Deliveries, Fleet & Drivers, Finance & Profitability.
· Four interactive charts — revenue by month, distribution by product, deliveries by month, and tank levels.
· Logistics flow cards — a live preview of the supply and distribution pipelines with quick access buttons.
Number of depots · number of tanks · total storage capacity · current stored volume · fill rate · volume distributed today / month / year · number of deliveries / tours / orders · revenue · commercial margin & margin rate · number of tanker trucks · trucks available · trucks in maintenance · drivers available · fleet fuel cost · technical losses · estimated evaporation · minimum-stock alerts · critical tanks · HSE incidents · facility logistics cost & stock value.
Manage an unlimited number of petroleum depots, storage terminals and sites. Each depot is a cockpit hub aggregating its tanks, capacity, current stock and fill rate.
· Depot type (terminal, depot, site), full address, region and GPS coordinates (latitude/longitude)
· Site manager, phone and e-mail contact
· Total storage capacity and surface area (m²)
· Commissioning date and status workflow
· Linked tanks, stock, documents, activity and full history
Full lifecycle management of every reservoir with a graphical visualisation of fill levels on both the dashboard and each depot cockpit.
· Reference, label, tank type (aerial / buried / vertical) and stored product
· Capacity, current level, alert threshold and minimum level
· Temperature and pressure monitoring
· Last & next inspection dates and tank status
· Automatic fill-rate computation and critical-tank / low-level alerting
A complete product catalogue covering the full downstream range: Diesel/Gazole, Premium Diesel, Petrol SP95, Petrol SP98, Kerosene, Jet A1, heavy & light fuel oil, LPG, bitumen, lubricants, additives and aviation fuel. Each product is a cockpit hub and is mirrored to a native Dolibarr product.
· Density, viscosity, colour, flash point and unit of measure
· Sale price, average cost, VAT rate and computed gross margin
· Stock in litres with low-stock alerting
· Link to a native Dolibarr product for commercial documents
· Linked quality analyses, losses and full history
Fuel procurement is driven through a visual, drag-and-drop supply-lifecycle Kanban board so operators can steer every replenishment from draft to invoicing.
Supply stages: Draft → Ordered → In transit → Delivered to depot → Received (won) → Invoiced (won) → Cancelled (lost).
· Supplier, product, target depot and tank
· Order date, delivery date and quantity in litres
· Unit cost, total cost and transport cost
· Quality-check flag and linked supplier invoice
· Drag-and-drop stage changes persisted through a secure AJAX endpoint
Control the physical unloading of every delivery and keep the tank farm in sync.
· Reception linked to its purchase, depot, tank and product
· Expected vs received quantity with automatic gap computation
· Temperature and density at reception, quality-check flag and receiving truck
· Stock movements: entries, exits, transfers, inventories and adjustments
· Threshold alerts and full movement history, synchronised with native Dolibarr stock
Customer orders are managed through a dedicated distribution Kanban board and can be turned into native Dolibarr quotes, orders and invoices in one click.
Order stages: Draft → Confirmed → Planned → Loaded → En route → Delivered (won) → Invoiced (won) → Cancelled (lost).
· Customer, delivery station, product and source depot
· Order & requested dates, quantity, unit price, HT / VAT / TTC totals
· Payment mode and stage-driven status
· One-click creation of a native Quote, Order or Invoice with the link stored back on the record
The full outbound logistics chain from the loading bay to proof of delivery.
· Loading notes: depot, truck, driver, product, tank, compartment, seal number, temperature and quantity
· Delivery notes: linked order, customer, station, truck, driver, tour, delivered quantity, temperature, electronic signature and GPS position
· Delivery tours: truck & driver assignment, schedule, number of stops, distance, fuel cost and tour status
· Planning timeline aggregating tours, deliveries, incoming supply, maintenance, ADR expiries and document expiries over a rolling window
A complete tanker-truck fleet and driver registry, each a cockpit hub.
· Trucks: plate, type, brand, capacity, number of compartments, assigned driver, mileage
· ADR / insurance / technical-inspection validity tracking with expiry alerting
· Truck status (available / maintenance) feeding the fleet-availability KPIs
· Drivers: identity, licence number & validity, ADR validity & class, hire date, home depot and availability status
· Driver-performance and delivery history through linked records
Manage customer service stations and industrial delivery points as well as supplier framework contracts.
· Customer stations linked to native third parties: type (station, industrial, mine, cement plant, construction, transport), address, GPS, manager and tank capacity
· Supplier contracts: framework reference, product, validity window, price & payment terms and committed volume
· Full synchronisation with Dolibarr third parties (customers & suppliers)
· Weighbridge weighings: truck, depot, product, gross/tare/net weight and weighing type (loading / unloading)
· Flow meters & counters: type, depot, tank, previous & current index, calibration dates and status
· Laboratory quality analyses: product, tank, depot, sample date, analysis type, density, sulfur & water content, flash point, conformity verdict and laboratory
· Losses & evaporation: type, product, tank, depot, date, quantity in litres, value of loss and root cause
· HSE incidents: type (spill, near-miss, fire, fall…), severity, date, location, injured count, corrective action and open/closed status feeding the safety KPIs
· Environmental monitoring: CO2 emissions, water consumption, energy consumption, waste and regulatory conformity per depot
· Equipment & fleet maintenance: equipment type, depot, truck, maintenance type, dates, cost, technician and due-date alerting
· Document vault (DMS): certificates, analyses, contracts, notes, invoices, reports, ADR & HSE documents with reference, date and expiry tracking
· Activity journal: chronological log of receptions, expeditions, controls, gauging, incidents and notes per depot
A built-in automation & alert engine runs on demand from the console or automatically through a daily Dolibarr cron job, keeping the operation coherent and surfacing risks early.
· Low tank level and low product stock alerts
· Expiring documents and expiring ADR validity alerts
· Maintenance-due and open-HSE-incident alerts
· Automatic closing of received purchases and delivered/invoiced orders
· User-definable IF/THEN rules with trigger type, threshold and action
A dedicated reporting hub delivers twelve detailed decision reports, each with summary KPI cards, a data table and totals. Every report is exportable to CSV, Excel and PDF (landscape) and can be printed with a clean petroleum-branded layout, and filtered by period.
|
Report |
Content |
|
Stock |
Product stock, average cost and stock value |
|
Products |
Sale price, cost, gross margin and margin rate |
|
Depots |
Tanks, capacity, current level and fill rate per depot |
|
Distribution |
Deliveries and delivered volume by month |
|
Tours |
Tours, distance and fuel cost by driver |
|
Fleet |
Trucks, plate, capacity, mileage and status |
|
Purchases |
Purchases, volume and cost by supplier |
|
Orders |
Orders, volume and revenue by customer |
|
Quality |
Analyses, density, sulfur and conformity by product |
|
Losses |
Losses and value by loss type |
|
HSE |
Incidents and injured count by type |
|
Finance |
Revenue, purchase cost, logistics cost and gross margin |
All commercial operations rely on native Dolibarr objects so the module stays fully integrated with the rest of the ERP:
Third parties · contacts · products · stock · warehouses · purchases · suppliers · quotes · orders · shipments · invoices · payments · bank · accounting · projects · interventions · agenda · DMS · e-mails · contracts.
· Customer orders generate native Quotes, Orders and Invoices with two-way links.
· Each petroleum product is mirrored to a native Dolibarr product.
· Customers, suppliers and stations reuse native third parties; business triggers keep data coherent on company/user deletion.
A complete administration interface lets administrators configure display options, default fuel VAT rate and module behaviour. Two mandatory one-click buttons are provided:
· Load demonstration data — populates a full realistic dataset — 4 depots, 24 tanks, 14 petroleum products, suppliers, customers, 16 trucks, 20 drivers, 18 stations, 60 purchases, 200 orders, 300 deliveries, 200 loadings, 80 tours, plus receptions, weighings, meters, quality analyses, losses, HSE incidents, environmental records, maintenance, documents and native quotes/orders/invoices.
· Purge demonstration data — safely removes only the demonstration data created by the module (identified by an import key), while respecting native document links.
The module follows Dolibarr best practices and a clean, maintainable architecture.
· CSRF protection on every action (token validation)
· XSS protection via systematic output escaping
· Prepared / escaped SQL queries throughout
· Granular permission model (11 right groups, read/write/delete)
· Logging & audit via dol_syslog and activity journal
· Full MultiCompany / multi-entity compatibility
· Official Dolibarr module layout: class/ core/ admin/ sql/ langs/ css/ js/ img/ lib/ core/boxes/ core/triggers/ core/modules/
· Object-oriented, key-driven generic engine with self-healing schema (ensureSchema)
· All SQL tables use the llx_fuelstorage_ prefix
· No code duplication; documented, PSR-aligned PHP
· Optimised queries with indexed foreign keys for performance
The module ships 24 dedicated business objects, an 11-group permission model, a 5-language translation set (FR/EN/ES/IT/DE), a dashboard, two Kanban pipelines, a planning timeline, an invoicing bridge, an automation console and a 12-report reporting suite.
|
Domain |
Objects |
|
Storage |
Depots, Tanks, Petroleum Products |
|
Supply |
Purchases (Kanban), Receptions, Supplier Contracts |
|
Stock |
Stock Moves, Weighings, Meters |
|
Distribution |
Orders (Kanban), Deliveries, Loadings, Tours |
|
Fleet |
Tanker Trucks, Drivers |
|
Customers |
Customer Stations |
|
Quality |
Quality Analyses, Losses |
|
HSE |
HSE Incidents, Environmental Monitoring, Maintenance |
|
Automation |
Activity Journal, Automation Rules |
|
Documents |
Document Vault (DMS) |
Fuel Storage & Distribution v1.0.0 — © DoliResources — www.doliresources.com