Salesforce to Odoo migration: what moves and what is rebuilt

In a Salesforce to Odoo migration, your core CRM records—accounts, contacts, leads, opportunities, products, price books, and campaigns—move through mapped imports, while Salesforce Flows, Apex code, validation rules, reports, dashboards, and permission sets never convert automatically and must be rebuilt. Emails, attachments, and activity logs move with scripted API pulls rather than standard CSV uploads.

Key facts

  • Salesforce accounts and contacts unify into Odoo's single res.partner model using parent_id links keyed on Salesforce external IDs. Source: odoo.com
  • Salesforce Flows, Apex triggers, validation rules, and reports cannot be exported as runnable Odoo logic and must be rebuilt as Odoo automation rules, Studio changes, or Python modules. Source: iventureteam.com
  • Odoo 19.0 automation rules group triggers into five categories: Values Updated, Email Events, Timing Conditions, Custom (such as record creation, update, deletion, and UI change), and External webhooks. Source: odoo.com
  • Salesforce Weekly Data Export archives expire 48 hours after generation, enforce a 60-second wait between zip downloads, and exclude formula and roll-up summary logic. Source: help.salesforce.com
Two sales engineers sorting colour-coded index cards on a clean office desk to map CRM fields
On this page

Flows and Apex do not convert—here is the honest split

Salesforce Flows, Apex code, validation rules, permission sets, and custom reports do not migrate automatically to Odoo and are always rebuilt from scratch. Your customer data—accounts, contacts, leads, opportunities, products, emails, and files—moves across through mapped imports, which is why our complete guide to leaving Salesforce for Odoo treats data engineering and automation rebuilds as two separate workstreams.

Saying that up front saves weeks of wasted scoping. No third-party connector or AI migration tool translates Salesforce Flow XML or Apex triggers into clean Odoo Python modules. Instead, a practical migration inventories every active automation first, discards rules that existed only to bridge Salesforce to an external quoting or ERP system, and rebuilds only the rules your sales team still relies on.

Full Salesforce-to-Odoo object mapping table

Every Salesforce object falls into one of three buckets: moves cleanly via mapped import, moves partly (requiring custom scripts to preserve dates, ownership, or binary files), or must be rebuilt natively inside Odoo.

Salesforce object or feature Transfer status Odoo target model What changes and what to watch
Account Moves cleanly res.partner (company) Store the 18-character Salesforce ID as the Odoo external ID; preserve parent-child account links
Contact Moves cleanly res.partner (person) Link to the parent company by external ID, never by matching company name text
Lead Moves cleanly crm.lead (type lead) Import only unconverted leads; converted leads already exist as accounts, contacts, and opportunities
Opportunity Moves cleanly crm.lead (type opportunity) Map stages to Odoo CRM stages; script original create_date and date_closed for accurate history
Opportunity Contact Role Moves partly Partner and follower links Primary contact maps directly; secondary buying-committee roles map as followers or custom fields
Task and Event Moves with script mail.activity and mail.message Open future follow-ups load as scheduled activities; completed tasks load as historical chatter notes
EmailMessage and Chatter Moves with script mail.message Standard CSV import skips dated message threads; use scripts to preserve timestamps and senders
Attachment and ContentVersion Moves with script ir.attachment Must be fetched via API or Bulk export and bound to the right crm.lead or res.partner record
Product2 and Pricebook2 Moves cleanly product.template and product.pricelist Create one Odoo pricelist per currency and customer price tier
Campaign and CampaignMember Moves cleanly utm.campaign and tags Maps campaign attribution directly onto leads and opportunities
Custom Objects Moves partly Odoo Studio or custom models Most custom objects collapse into native fields or tags on res.partner and crm.lead
Formula and Roll-Up Fields Rebuilt Computed fields or views Salesforce exports frozen values only; recalculate live roll-ups in Odoo if still needed
Flows and Process Builder Rebuilt Odoo Automation Rules / Python Recreate stage alerts, lead routing, and field updates natively (Odoo automation docs)
Apex Triggers and Classes Rebuilt Server actions or custom module Requires Python development; teams with heavy Apex should audit fit before committing
Validation Rules Rebuilt Odoo domains or Python constraints Keep only high-value checks reps actually need before moving a deal to Won or Quoted
Reports and Dashboards Rebuilt Pivot, Graph, and Sales Dashboard Rebuild the weekly reports leadership opens; archive unused reports offline
Profiles and Permission Sets Rebuilt Odoo security groups and record rules Odoo manages permissions by team and role group rather than per-field profile matrices

What moves cleanly with mapped external IDs

Master CRM tables—accounts, contacts, unconverted leads, opportunities, products, price books, and campaigns—transfer cleanly as long as you key every record on its original Salesforce ID. Odoo’s export and import documentation (checked Nov 2026) recommends storing the source system’s primary key as the Odoo external ID (__export__ or custom XML ID).

Keying on Salesforce IDs solves two problems at once:

  • Idempotent trial loads: You can load staging once in week three, clean duplicate accounts or messy picklists, and re-run a second load or cutover delta sync without duplicating existing companies or deals.
  • Exact relational wiring: Contacts bind to parent accounts, opportunities bind to accounts and price lists, and attachments bind to the right deal even when two customers share nearly identical names.

What partly moves and requires scripted loading

Activities, dated emails, file attachments, historical stage dates, and multi-to-many contact relationships do not import cleanly through Odoo’s browser CSV uploader and require scripted extraction and Postgres or API loading. If a vendor claims they handle these with a standard CSV upload, check how they preserve original timestamps and owners.

Four technical edge cases show up in nearly every 15-to-100-seat migration:

  1. Backdated opportunity timestamps: Odoo sets create_date to the import timestamp unless a migration script sets the original Salesforce creation and close dates afterward. Without backdating, every 2021–2025 deal looks like it was created during cutover week, breaking pipeline-age and cohort charts.
  2. Completed vs open tasks: Open tasks belong in mail.activity so reps see green, yellow, and red due-date clocks on their Kanban cards on Monday morning. Completed calls and logged emails belong in Odoo’s chatter (mail.message) with their original sender and timestamp rather than cluttering active to-do lists.
  3. Emails and binary attachments: Salesforce stores modern files in ContentVersion and ContentDocumentLink, older files in Attachment, and logged emails in EmailMessage. Per Salesforce Weekly Data Export documentation (checked Nov 2026), browser-downloaded export zips expire after 48 hours and enforce a 60-second pause between downloads (HTTP ERROR 429 if requested in parallel). On a recent cutover for one manufacturer rep agency, a direct OAuth delta sync pulled 207 updated opportunities, 273 emails, and 214 attachments right before go-live without touching manual zip files.
  4. Departed sales reps: Never reassign historical opportunities owned by former employees to your system administrator. Create archived Odoo user records for departed reps so historical win/loss scorecards stay honest.

What is always rebuilt in Odoo

Configuration, automation, security logic, and reporting layouts never cross the platform boundary automatically because Salesforce and Odoo model business logic differently (iVentureTeam, Oct 2026).

Salesforce Flows, Process Builder, and validation rules

Older Salesforce orgs often accumulate Flows and validation rules over time, yet many become redundant once CRM, quotations, and invoicing sit inside one Odoo database. For instance, Flows that push closed-won deals to an external accounting system disappear completely when Odoo Sales generates the quote and invoice natively.

For rules that stay, Odoo provides native Automation Rules triggered on creation, record update, deletion, form change, or time delays (Odoo 19.0 Automation Rules documentation, checked Nov 2026). On Offramp CRM packages, individual rule rebuilds are quoted transparently after audit—estimated at $250 to $900 per rule depending on complexity—instead of padded into an open-ended consulting retainer. See Salesforce flows to Odoo automation rules for pattern-by-pattern examples.

Reports, dashboards, and permission sets

Salesforce’s report builder lets admins create dozens of custom joined reports, while Odoo Community provides list, Kanban, pivot, and graph views that lack multi-tab executive dashboards out of the box. Rather than rebuilding every legacy report, rebuild the core screens management opens every Monday—either as native pivot boards or through a pre-built Odoo Sales Dashboard with click-through to underlying deals.

Permission sets follow the same pruning principle. Per Odoo 19.0 Access Rights documentation (checked Nov 2026), Odoo assigns each user one of four roles (Administrator, User, Portal, or Public) and scopes app access through groups with standard levels such as Blank/None, User: Own Documents, User: All Documents, or Administrator. Map Salesforce profiles down to three or four clean Odoo security groups and use record rules only where reps must be restricted to their own teams or territories.

Structural model differences between Salesforce and Odoo

Three architectural differences between Salesforce and Odoo change how records relate after migration, even when every row migrates cleanly. Mapping these structures before your first trial load prevents duplicate contacts and inflated pipeline metrics.

  1. Accounts and Contacts share one table (res.partner): Salesforce stores Accounts and Contacts in separate tables and supports many-to-many links (AccountContactRelation). Odoo stores both companies and people in res.partner linked via a single parent_id company field (Odoo export and import docs, checked Nov 2026). Contacts that span multiple branch accounts in Salesforce need a primary company parent_id plus secondary notes or tags in Odoo.
  2. Leads and Opportunities share one model (crm.lead): Salesforce converts a Lead into separate Account, Contact, and Opportunity records. In Odoo, leads are an optional qualifying stage inside crm.lead that convert into opportunities on the same record (Odoo Lead Conversion docs, checked Nov 2026). Never import already-converted Salesforce Leads as active Odoo leads, or your pipeline double-counts historical deals.
  3. CRM connects natively to Sales, Inventory, and Accounting: In Salesforce, quotes, price tiers, and invoices often rely on add-ons or external accounting bridges. In Odoo, won opportunities turn directly into quotations and sales orders inside the same database—see our Salesforce-to-Odoo day-one cheat sheet for exact term equivalents.

Four common migration mistakes when moving objects

Most broken Salesforce-to-Odoo migrations trace back to four avoidable data-mapping shortcuts rather than software bugs.

  • Importing through the browser without batching: Odoo’s import documentation warns that oversized browser uploads hit timeout errors or fail to process all rows. Large orgs need chunked batches or scripted API/PostgreSQL loads—a gap explored further in our Salesforce data export guide.
  • Overwriting messy Salesforce picklists without keeping originals: Consolidating 40 inconsistent Lead Sources or Loss Reasons into 8 clean Odoo values is essential for reporting, yet deleting the old value destroys audit traceability. Always write the consolidated value to the active field while saving the raw Salesforce value in a reference field.
  • Losing email and file context on Odoo Online: Odoo Online does not allow direct PostgreSQL database access or custom Python modules. Because Front Row hosts client instances on Managed Odoo Hosting, Odoo Online users who want full scripted syncs and the seven-tab dashboard are moved onto managed hosting during onboarding.
  • Skipping the raw pre-cleanup backup: Every cleanup script should save an unmodified timestamped CSV backup before merging a single duplicate account or closing a stale deal.

What you provide in week one and how cutover works

A fixed-scope migration keeps your internal workload focused on access, mapping sign-off, and spot-checking rather than writing import scripts. On Offramp CRM packages, onboarding runs through a guided wizard without sharing Salesforce passwords:

  1. Week 1 (Access and inventory): You connect Salesforce read-only via Salesforce’s own OAuth consent screen, upload your user list CSV (including departed reps to archive), and flag the weekly reports your team relies on.
  2. Weeks 2–4 (Trial Load 1 and cleanup): We extract accounts, opportunities, emails, and attachments, run duplicate and picklist cleanup against a pre-cleanup backup, and load staging keyed on Salesforce external IDs.
  3. Weeks 4–8 (Trial Load 2 and spot-check): Your sales lead spot-checks sample open and closed records alongside rebuilt dashboards and any scoped automation rules.
  4. Cutover weekend (Delta sync and go-live): Following a brief Friday entry freeze, a final delta sync pulls every record modified since Trial Load 2—see our cutover weekend run sheet for hour-by-hour steps—while Salesforce stays live in read-only mode through 14 to 45 days of post-launch support.

How to verify your org before committing to a package

Before locking in a migration timeline, count your active automations, custom objects, and weekly reports so nothing surprises you mid-project. You can score your complexity on the Salesforce exit readiness scorecard, review package boundaries on our Salesforce to Odoo migration service page, or book a five-day Salesforce exit audit ($1,500, credited in full toward any migration signed within 60 days) to receive an exact object map and fixed quote.

Frequently asked questions

Do Salesforce Flows and Apex triggers convert automatically into Odoo?

No. Salesforce Flows, Process Builder rules, and Apex classes never transfer automatically into Odoo. Because Salesforce runs proprietary metadata and Apex while Odoo runs Python models and automation rules, every active automation must be inventoried first, stripped of legacy workarounds, and rebuilt natively in Odoo.

How do Salesforce Accounts and Contacts map into Odoo CRM?

Salesforce stores Accounts and Contacts as two separate tables, whereas Odoo stores both companies and people inside one model called res.partner. During migration, every Account imports first as a company record tagged with its Salesforce ID as the Odoo external ID, and each Contact imports second linked to that company's external ID.

Do closed Salesforce opportunities and stage history come across?

Yes, when loaded by migration scripts. Standard CSV imports stamp today's creation date on imported opportunities, which distorts pipeline age and win/loss charts. Scripted imports preserve original create dates, close dates, amounts, and win/loss stages—as used to preserve over 20,000 closed opportunities for one manufacturer rep agency.

Can we migrate Salesforce emails and file attachments into Odoo?

Yes, though not cleanly through a basic spreadsheet upload. Salesforce Weekly Export CSVs separate file references from binary blobs and do not wire email threads directly into Odoo's chatter timeline. A scripted API pull reads EmailMessage, Attachment, and ContentVersion records and writes them into Odoo mail.message and ir.attachment with original dates and authors.

What happens to Salesforce formula fields and roll-up summaries?

Salesforce formula fields and roll-up summary fields do not carry their calculation logic into Odoo exports; Weekly Data Export outputs only their frozen snapshot values. If your reps rely on a calculated margin or lifetime deal total, that calculation is recreated as an Odoo computed field or automated action.

Are Salesforce Reports and Dashboards worth rebuilding one for one?

Usually no. Many mature Salesforce orgs accumulate dozens of saved reports while sales leadership relies on a small core set each week. Inventory the reports your managers actually check, rebuild those as Odoo pivot views, graph views, Quick Lists, or seven-tab Sales Dashboard cards, and leave unused legacy reports in an offline archive.

What happens to converted Salesforce Leads during an Odoo migration?

Converted Salesforce Leads should not be imported as open Odoo leads because their Account, Contact, and Opportunity records already exist separately. Import only unconverted Leads into Odoo's crm.lead model, or map historical converted leads carefully to closed records so your active lead queue and conversion rates are not double-counted.

Does scripted migration work if we are currently on Odoo Online?

Odoo Online does not provide direct PostgreSQL database access or custom Python module installation, and its External API is restricted to the Odoo Custom plan. Teams on Odoo Online can move onto Front Row Managed Odoo Hosting during onboarding so scripted syncs, backdated timestamps, and custom dashboard modules run cleanly.

Sources

  1. Odoo 19.0 Export and Import Data Documentation (checked )
  2. Odoo 19.0 Automation Rules Documentation (checked )
  3. Odoo 19.0 Convert Leads into Opportunities Documentation (checked )
  4. Odoo 19.0 Access Rights Documentation (checked )
  5. Salesforce Weekly Data Export Documentation (checked )
  6. iVentureTeam: Salesforce to Odoo Migration — What Moves, What to Rebuild, and Cost (checked )