Salesforce or HubSpot to Odoo CRM: what maps, what does not, and how to avoid duplicates
- United States
- United Kingdom
- European Union
- India
- UAE
- Australia
- Canada
In short
Salesforce accounts and HubSpot companies become company contacts in Odoo; people become contacts linked to their company; leads, opportunities and deals become records in Odoo's single lead and opportunity model. Load companies first, then people, then the pipeline, with an external ID on every row so a second run updates instead of duplicating. Automation, such as Salesforce Flows and Apex or HubSpot workflows, does not move and is rebuilt in Odoo.
How the objects map
Odoo keeps companies and people in one model, res.partner, and tells them apart with a flag. It also keeps leads and opportunities in one model, crm.lead, with a type. Both differences from Salesforce and HubSpot are easy to handle once you know them and painful when discovered half way through.
| Salesforce | HubSpot | Odoo | Note |
|---|---|---|---|
| Account | Company | res.partner (company) | Parent accounts become parent companies |
| Contact | Contact | res.partner (person) | Linked to its company through parent_id |
| Lead | Contact with a lead lifecycle stage | crm.lead, type lead | Odoo can also work without the lead step |
| Opportunity | Deal | crm.lead, type opportunity | Linked to a partner, a stage and a salesperson |
| Opportunity stage | Deal stage, per pipeline | crm.stage | Create the stages in Odoo first; pipelines map to sales teams |
| Owner | Owner | res.users | Users must exist in Odoo before records are assigned |
| Task, Event, Note | Task, Meeting, Note | Activities and chatter | History cannot be back-dated through imports |
| Product, Price book | Product | product.template, price lists | Load before quotes or orders |
Getting the data out
Both systems export well. Salesforce's Data Export service produces a ZIP of CSV files, on a weekly or monthly schedule depending on edition, and the files are deleted 48 hours after they are ready (Salesforce (opens in a new tab)). HubSpot exports each object to CSV or Excel; by default an export includes up to 1,000 associated records per column, and all associated records only in CSV (HubSpot (opens in a new tab)).
Exports lose one thing an API keeps: the links. A CSV of contacts names its company in a text column; the API gives the company's ID. Matching on names is where duplicates and orphans start, so keep the source IDs in every file.
Load order
Each step depends on the ones before it. A deal loaded before its company exists has nothing to attach to.
- Users and sales teams, created in Odoo by hand.
- Stages, tags and any custom fields.
- Companies, with the source account or company ID as the external ID.
- People, each linked to its company by that external ID.
- Products, if quotes or orders will follow.
- Leads and opportunities, linked to partner, stage and salesperson.
- Notes and open activities, last.
Why external IDs matter here
Odoo's import documentation says an external ID lets you import the same file several times without creating duplicates and can be the ID from your previous software (Odoo (opens in a new tab)). That is exactly what a CRM move needs, because the sales team keeps working during the project and the final pass has to update what changed.
Use one scheme and never vary it, for example the object name and the 18-character Salesforce ID. The same documentation warns that where a relation is matched by name and two records share the name, the link goes to the first match. External IDs avoid that.
What does not move
Some things are configuration, not data, and are rebuilt.
- Automation: Salesforce Flows, Apex and validation rules; HubSpot workflows and sequences.
- Reports and dashboards.
- Page layouts, record types and permission sets.
- Email templates and marketing assets.
- Created-on dates, created-by and timeline history: Odoo's import cannot set them. A common workaround is to store the original created date in a custom field and put a summary of past activity in a note.
What Aletheon does, and its limits
Aletheon connects to Salesforce or HubSpot through their APIs, reads accounts, contacts and the pipeline with their IDs, and writes into Odoo through Odoo's own import method with external IDs. Parents load before children. Afterwards it reads Odoo back and compares each record and field with the source, reports anything it held with the reason, and journals the run so it can be rolled back. A second pass picks up only what changed.
Now the limits. The Odoo connector's live certification covers master data, which here means companies, contacts and products, on Odoo 17 and 18. Loading leads and opportunities uses the same mechanism but has not been through a live run, and Salesforce or HubSpot to Odoo is not a listed pathway in our catalogue, so treat it as a Contact us job and begin with the free sample on companies and contacts. The Salesforce and HubSpot connectors are in beta: built to each vendor's API and not yet proven on a live account. On Odoo Online, API access requires Odoo's Custom plan (Odoo (opens in a new tab)).
For the surrounding steps, see the Odoo migration checklist. For CRM moves that do not involve Odoo, see the CRM migration guide.
| Check | Compare | Pass when |
|---|---|---|
| Companies | Count against accounts or companies | Counts match |
| People | Count; each has the right company | Counts match; no person without the company it had |
| Open pipeline | Number and total value of open opportunities, by stage | Count and value match to the cent |
| Owners | Records per salesperson | Matches the source split |
| Second pass | Run the load again with no changes | Nothing is created |
Questions people ask
Where do Salesforce accounts go in Odoo?
Into the contacts model, res.partner, as companies. Salesforce contacts become people linked to those companies through the parent field.
Do Salesforce Flows and Apex code move to Odoo?
No. Automation is configuration and code specific to Salesforce. The equivalent behaviour is rebuilt in Odoo with automated actions, Studio or custom modules.
Will a second migration run create duplicates in Odoo?
Not if every record is loaded with an external ID. Odoo then updates the existing record. Aletheon loads this way, and in its live test a second pass created no duplicates.
Can the sales team keep working during the migration?
Yes. Load the bulk while they work, then run a final pass for records created or changed since, and switch over.
Is Salesforce to Odoo self-serve in Aletheon?
It is not a listed pathway. Companies, contacts and products into Odoo are within what the Odoo connector is certified for; the pipeline is not yet proven on a live run. Contact us and start with the free sample.
Sources
Try it on your own data
Run the free sample, read the reconciliation report, roll it back if you like.
See what the Odoo connector is certified for