AletheonAI Labs

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.

SalesforceHubSpotOdooNote
AccountCompanyres.partner (company)Parent accounts become parent companies
ContactContactres.partner (person)Linked to its company through parent_id
LeadContact with a lead lifecycle stagecrm.lead, type leadOdoo can also work without the lead step
OpportunityDealcrm.lead, type opportunityLinked to a partner, a stage and a salesperson
Opportunity stageDeal stage, per pipelinecrm.stageCreate the stages in Odoo first; pipelines map to sales teams
OwnerOwnerres.usersUsers must exist in Odoo before records are assigned
Task, Event, NoteTask, Meeting, NoteActivities and chatterHistory cannot be back-dated through imports
Product, Price bookProductproduct.template, price listsLoad before quotes or orders
Object mapping

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.

  1. Users and sales teams, created in Odoo by hand.
  2. Stages, tags and any custom fields.
  3. Companies, with the source account or company ID as the external ID.
  4. People, each linked to its company by that external ID.
  5. Products, if quotes or orders will follow.
  6. Leads and opportunities, linked to partner, stage and salesperson.
  7. 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.

CheckComparePass when
CompaniesCount against accounts or companiesCounts match
PeopleCount; each has the right companyCounts match; no person without the company it had
Open pipelineNumber and total value of open opportunities, by stageCount and value match to the cent
OwnersRecords per salespersonMatches the source split
Second passRun the load again with no changesNothing is created
Checks after loading Odoo CRM

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
Start free sample

Keep reading

Contact us

SAP, multi-company Odoo or more than 2 million records?

Most migrations start with the free sample and need no call. For jobs above 2,000,000 records, SAP or multi-company ERP, or a pathway marked Contact us, tell us what you are moving and we will reply within one business day.

  • A reply from a person within one business day
  • A written plan and a price before any work starts
  • The same reconciliation report and rollback journal as every self-serve run
We reply within one business day, and use these details only to reply.