Dolibarr to Odoo migration: third parties, invoices, stock and tickets

How to move a company from Dolibarr 16-24 to Odoo 17, 18, 19 or 20 from the ordinary Dolibarr backup, with invoice numbers, payments, stock, contracts and tickets.

Dolibarr is a good start for a small company. When the company grows into a warehouse, a service team, subscriptions or more users, many teams move to Odoo. What keeps them on Dolibarr is the data: years of third parties, invoices with their numbers, payments, contracts and tickets. This guide shows how to move from Dolibarr ERP/CRM to Odoo 17, 18, 19 or 20 with the free Dolibarr Migration Lite and Dolibarr Migration Pro by KVS soft.

What you need

  • The Dolibarr backup: in Dolibarr open Home → Admin Tools → Backup and generate the database backup (.sql or .sql.gz). For files attached to records and product photos, also make the ZIP archive of the documents directory.
  • Dolibarr 16 to 24. No MySQL server is needed to read the backup; a direct connection to the Dolibarr database also works.
  • Odoo 17, 18, 19 or 20, Community or Enterprise, on Odoo.sh or your own server. Odoo Online cannot install third-party modules with Python code.

The module only reads the backup; Dolibarr is not changed. It was tested on the demo databases that Dolibarr ships for versions 16 to 24.

Step 1: check the backup

Install Lite and open Dolibarr Migration → Dolibarr Databases. Create a record, upload the files (or give their path on the server) and press Check the Backup. You see what is in it: users, third parties, contacts, products, proposals, orders, invoices, stock, projects, contracts, interventions, tickets, documents and more, with where each part goes in Odoo and which app it needs. No backup at hand? Choose Sample Data to see the whole process on a sample database.

Check of the Dolibarr backup
What is in the backup and where it goes in Odoo

Step 2: third parties and products for free

Lite imports:

  • Dolibarr users, matched to Odoo users by email or login;
  • product categories and tags;
  • third parties with addresses, Tax ID, company ID and customer and supplier codes;
  • contacts linked to their company;
  • products with prices, taxes, categories and photos.

Third parties are found by company ID, Tax ID, code or name, contacts by email or name, products by reference, so records already in Odoo are not duplicated. Test Run shows the result and rolls everything back before you press Import.

Step 3: the rest of the company with Pro

Pro moves everything else, each part into its own Odoo app:

  • Sales: commercial proposals become quotations, customer orders become sales orders.
  • Invoicing: customer invoices, credit notes and down payments are posted with their Dolibarr numbers, and their payments are reconciled, so paid invoices show as paid.
  • Purchase: purchase orders and supplier invoices with payments.
  • Inventory: warehouses with on-hand quantities.
  • Projects: projects, tasks and time spent as timesheets; leave requests to Time Off; agenda events as dated notes on the record.
  • Service: contracts go to Subscriptions, interventions to Field Service, tickets with their conversation to Helpdesk, ECM folders to Documents and the knowledge base to Knowledge.
  • Extra fields become Odoo fields on a "Dolibarr" tab, and files attached to records come from the documents archive.

A step runs only when its Odoo app is installed, and the check tells you which one to install. No emails are sent during the import.

Migration options
Choose what to move
An invoice moved from Dolibarr
A posted invoice with its Dolibarr number and payment

Keep working in Dolibarr until the switch

Import once to test, then import a fresh backup on the switch day: repeated imports add only the new records (or update the imported ones, if you choose).

What is not moved

Expense reports, bank transactions and accounting entries, members, bills of materials and manufacturing orders, shipments and receptions. Stock moves as on-hand quantities. The check lists them for your backup before you start.

Import result
The result of every step

Price

Dolibarr Migration Lite is free. Dolibarr Migration Pro costs $149, a one-time purchase on the Odoo Apps Store for one Odoo version. Run the free check first: it shows what Pro will move from your backup.

Want help planning the switch? Write to us.

Custom development

We build any Odoo module to order

An integration with your bank or delivery service, a report, a workflow, a portal for your customers: describe the task and we will propose a solution, a price and a deadline.

Describe your task