Salesforce data migration mistakes we fixed
The most costly Salesforce to Odoo data migration mistakes happen when teams import legacy picklist clutter, duplicate companies, and hundreds of dead open deals straight into a fresh CRM. Fixing them safely requires a backup-first workflow: export timestamped CSVs before every edit, map messy picklists while keeping original raw values on each record, merge duplicates in controlled batches, and close stale opportunities as Lost so daily pipeline views stay accurate.
Key facts
- In Odoo 19, merging duplicate contacts or companies is irreversible once executed in the interface, making pre-merge backup CSVs essential. Source: odoo.com
- Odoo warns that merging lost opportunities with active opportunities pulls the closed records back into the live sales pipeline. Source: odoo.com
- Large data exports or imports in Odoo can trigger timeout errors unless records are processed in smaller batches. Source: odoo.com
- Salesforce Weekly Export Service enforces a 60-second cooldown between file downloads and excludes formula and roll-up summary fields. Source: help.salesforce.com
On this page
Why data mistakes wreck CRM migrations
Most failed CRM transitions start as data mistakes rather than software bugs. When a team exports messy tables straight out of Salesforce and pushes them into Odoo CRM, reps open their new pipeline on Monday morning and immediately distrust every number on screen.
Our complete Salesforce to Odoo migration guide covers the full exit architecture, while this breakdown focuses on the five recurring data mistakes we saw and fixed during a 28,000-opportunity cutover for a manufacturer rep agency—and the repeatable safeguards that keep those errors out of production.
Mistake 1: Editing records without a backup CSV first
Running cleanup scripts directly against imported tables without saving a pre-change snapshot leaves no clean way to undo a bad field mapping or an over-aggressive merge. Once an account merge or bulk stage overwrite runs inside Odoo, recovering the prior state manually across thousands of rows takes days.
Every cleanup step should follow a strict backup-first sequence:
- Export a timestamped backup CSV of every affected object (
Account,Contact,Opportunity, or Odoores.partnerandcrm.lead) before modifying a single field. - Store the snapshot read-only outside the active working folder with the date and script version in the filename.
- Run the transformation on a trial database first, verify counts against the pre-change CSV, and only then promote the script to production.
On large databases, Odoo’s export and import documentation (checked 2026-11-23) warns that oversized exports or imports trigger timeout errors. Batching backup snapshots by record range or pulling directly from PostgreSQL avoids silent partial exports.
Mistake 2: Overwriting messy picklists instead of mapping them
Years of Salesforce administration usually leave behind bloated picklists—retired lead sources, misspelled territory names, and overlapping loss reasons. Mapping every old string one-for-one pollutes Odoo’s filters, yet overwriting legacy values destroys context that reps still search for.
The fix is a two-column picklist mapping table paired with a preserved reference field:
| Legacy Salesforce picklist pattern | Common migration mistake | Backup-first fix in Odoo |
|---|---|---|
| 15 variations of loss reasons | Importing all 15 into Odoo Lost Reasons | Consolidate into 5–7 standard reasons; store raw text in a legacy note field |
| Retired territory or division tags | Dropping tags during import | Map active divisions cleanly; keep historical tag string read-only |
| Old custom opportunity stages | Creating duplicate pipeline columns | Map historical closed stages cleanly to Won or Lost with original stage saved |
In the manufacturer rep agency migration, consolidating fragmented picklists while keeping original values on each record kept historical searches intact without cluttering daily dropdowns. You can see how clean loss reasons feed into management reporting in our CRM win/loss analysis guide.
Mistake 3: Leaving stale opportunities open in the active pipeline
Sales teams rarely close every dead opportunity inside Salesforce. Over five to ten years, hundreds of forgotten deals pile up in active stages, inflating open pipeline totals and hiding real closing opportunities underneath dead rows.
In one manufacturer rep agency database, a large backlog of stale opportunities was still sitting in active stages even though activity had stopped long before. Leaving them open made the new Odoo pipeline look unreliable on day one; deleting them would have wiped legitimate sales history.
Moving aged deals to Lost in controlled batches solves both problems:
- Agree on an inactivity cutoff date with sales leadership before cutover weekend.
- Mark qualifying deals as Lost with a distinct stale-cleanup Lost Reason so win/loss charts can separate true competitive losses from housekeeping closures.
- Keep all linked emails, attachments, and original stage dates intact on the closed record, as covered in our guide on migrating closed opportunity history.
Remember one specific Odoo behavior noted in Odoo 19’s lost opportunities guide (checked 2026-11-23): merging a lost opportunity with an active opportunity pulls the lost record back into the active pipeline. Keep stale-deal closure separate from duplicate opportunity merges.
Mistake 4: Merging duplicate accounts blindly
Duplicate companies happen naturally in Salesforce whenever two reps enter the same customer with slight spelling differences (“Acme Supply LLC” vs “Acme Supply Co.”). Importing both records splits opportunity history, while merging them carelessly inside Odoo can combine separate regional branches or overwrite billing details.
Odoo 19’s contact merge documentation (checked 2026-11-23) explicitly warns that merging contacts is irreversible once confirmed. Before running any merge:
- Flag candidate pairs using normalized company names, website domains, and contact email addresses rather than fuzzy name matching alone.
- Review parent-child account hierarchies separately so regional branches or multi-location distributors are not collapsed into one record by mistake.
- Export a pre-merge backup CSV mapping every source Salesforce ID to its surviving Odoo
res.partnerexternal ID (parent_id), then verify open opportunity counts before and after the merge.
Mistake 5: Ignoring Quick List defaults and export bottlenecks
Even with clean data, leaving default list views unfiltered overwhelms reps. On one daily Quick List in the manufacturer rep agency engagement, removing stale deals and applying a practical 12-month default filter cut the working list from 1,142 rows down to 91 actionable rows.
Teams also hit unexpected friction when pulling data out of Salesforce and pushing it into Odoo:
- Salesforce Weekly Export gaps: Per Salesforce’s Weekly Export documentation (checked 2026-11-23), scheduled CSV exports exclude formula fields and roll-up summary fields and impose a 60-second cooldown between file downloads. If your pipeline views depend on calculated fields (such as weighted deal value or days-in-stage rollups), export the underlying raw fields or recreate the formula inside Odoo instead of expecting static CSV columns to populate automatically.
- Email and attachment matching: Attachments and email logs often orphan if you skip parent-ID mapping (
parent_idfor contact-to-company links and Salesforce Opportunity IDs mapped to Odoocrm.leadexternal IDs). Follow the step-by-step extraction checks in our Salesforce data and attachment export guide. - Cutover drift: If your team keeps working in Salesforce during trial testing, schedule a final delta sync on cutover weekend so recent opportunities, chatter notes, and attachments are not left behind in the old org.
What order should you load Salesforce objects into Odoo?
Load parent records before child records and map every source row to an explicit External ID so re-running a batch updates existing rows instead of creating duplicates.
Skipping relational order or omitting External IDs is one of the fastest ways to orphan contacts and break deal totals during an Odoo CRM data import. Per Odoo 19’s export and import documentation (checked 2026-11-23), assigning the source application’s unique identifier to the External ID (ID) column lets you run safe update imports and link child records using the XXX/ID column convention—while warning that duplicate External IDs cause import conflicts.
| Load step | Salesforce source object | Odoo 19 target model | Key relational link to verify |
|---|---|---|---|
| 1 | Users (active and former reps) | Users (res.users) |
Match OwnerId before loading deals |
| 2 | Accounts | Contacts (res.partner, Company) |
Store Salesforce Account ID in External ID |
| 3 | Contacts | Contacts (res.partner, Individual) |
Link to Company via parent_id (Related Company) |
| 4 | Products & Price Books | Products & Pricelists | Match SKU / Product Code before quotes |
| 5 | Opportunities | CRM Opportunities (crm.lead) |
Link Account, Contact, User, and Stage |
| 6 | Emails & Attachments | Mail messages & ir.attachment |
Attach to crm.lead or res.partner External ID |
How do you handle inactive reps and automation rules during bulk loads?
Map former sales reps to archived Odoo user accounts or a single clearly labelled legacy owner before importing deals, and turn off outbound notifications during bulk loads so historical updates never email customers.
Teams often dump five to ten years of closed opportunities under whichever active sales manager runs the migration. That shortcut corrupts historical win-loss attribution and floods the manager’s personal pipeline filters. Creating inactive or archived user records—or tagging a dedicated legacy rep field—preserves clean attribution for rep scorecards without paying for extra active seats.
Watch two Odoo behaviors during any large load:
- Chatter import subscriptions: Under the developer-mode Advanced import settings documented in Odoo 19’s import guide (checked 2026-11-23), enabling
Track history during importsubscribes followers and sends notifications during the import, which slows large batches and creates noise. Leave it disabled during historical loads. - Automation rule triggers: According to Odoo 19’s automation rules documentation (checked 2026-11-23), rules can fire on record creation, field updates, or stage changes unless filtered by domain conditions. Deactivate or scope notification rules during trial loads, then re-enable them once record counts reconcile.
How should you spot-check a trial load before signing off?
Reconcile record counts and open dollar totals object by object against Salesforce first, then spot-check a mixed sample of open, won, and lost deals alongside their emails and attachments.
Say a hypothetical 30-seat distributor prepares to move 12,000 Salesforce opportunities, 180 fragmented picklist values, and 240 duplicate company records into Odoo. Rather than visually scanning a handful of screens on go-live morning, a structured sign-off checks four metrics after Trial Load 1:
- Object count parity: Confirm total Accounts, Contacts, Open Opportunities, Closed Won, and Closed Lost counts match the pre-cleanup Salesforce export minus any explicitly documented merges or stale closures.
- Pipeline dollar tie-out: Compare total open Expected Revenue in Odoo against open Salesforce Opportunity Amount by stage and by rep.
- Sample record inspection: Pull 10 to 15 deals across active, won, and stale-closed stages and verify company links, original legacy picklist notes, logged emails, and downloadable file attachments.
- Permission and Quick List check: Log in as a standard rep user—not just an administrator—to confirm daily Quick Lists show clean, actionable rows rather than thousands of archived deals.
Only after those checks pass should you schedule the final cutover freeze. To check whether hidden Apex, custom objects, or picklist debt will slow your move, run the Salesforce exit readiness scorecard or book a $1,500 Salesforce Exit Audit for an org inventory, data profile, and field mapping draft before committing.
A pre-cutover cleanup checklist
Run through these five checks before signing off on your trial load:
- Pre-change CSV backups exist for every migrated object, saved with timestamps.
- Picklist mapping table is approved by the sales manager, with raw legacy values retained in a reference field.
- Stale open deals past the cutoff date are closed as Lost with a housekeeping reason rather than deleted.
- Duplicate companies and contacts are reviewed by domain and parent-child structure before irreversible merges run.
- Quick Lists and spot-check totals match Salesforce opportunity counts and dollar totals within agreed tolerance.
If your Salesforce org needs this cleanup before—or even without—leaving Salesforce, our standalone CRM Data Cleanup service runs the full backup-first sequence for $1,800 flat up to 30,000 records, or you can bundle cleanup directly into our Salesforce to Odoo migration packages.
Frequently asked questions
Why should we clean Salesforce data before loading it into Odoo CRM?
Loading uncleaned Salesforce records into Odoo simply recreates broken Monday reports inside a new database. Duplicate accounts split deal history across separate company records, fragmented picklists break win-loss charts, and stale deals inflate open pipeline totals. Fixing those issues during trial loads keeps reps out of spreadsheet workarounds on cutover day.
How do you consolidate picklists without losing old Salesforce context?
We never overwrite legacy picklist values blindly. First we export a timestamped backup CSV, then we build a mapping table that translates fragmented values into a clean Odoo list. Before writing the standardized value, our sync copies each record's original Salesforce text into a preserved reference field.
Should stale Salesforce opportunities be deleted before migration?
No. Deleting old opportunities erases years of account history and pricing context that reps rely on when an inactive buyer returns. Instead, deals untouched past an agreed cutoff date are moved to Lost with a dedicated stale-cleanup reason so active pipeline views stay clear while historical records remain searchable.
What happens if we merge a Lost opportunity with an open opportunity in Odoo?
According to Odoo 19 CRM documentation, merging a lost opportunity with an active opportunity pulls the lost record back into the active pipeline. During migration cleanup, we review active and lost records separately and run duplicate account merges before linking historical deal counts.
Why do large CRM exports fail or time out during DIY migrations?
Odoo's export and import documentation notes that oversized files frequently hit request timeout limits, requiring smaller batch files. On the Salesforce side, manual Weekly Export downloads exclude formula fields and enforce a 60-second cooldown per file, which slows large multi-object pulls unless scripted through the API.
What order should Salesforce objects be loaded into Odoo?
Load parent records before child records so every foreign-key link resolves on the first pass. Start with active and archived users, then companies, individual contacts linked via parent_id, products and price lists, opportunities, and finally historical emails and attachments mapped to each record's External ID.
How do we stop Odoo from sending emails during a bulk data import?
Keep the developer-mode Track history during import option turned off unless you specifically need Chatter subscriptions created, because Odoo's import documentation warns it sets up subscriptions and triggers notifications. Also disable or narrow customer-facing automation rules before loading historical records, then re-enable them after spot-checks pass.
Sources
- Odoo 19.0 Merge Contacts Documentation (checked )
- Odoo 19.0 Lost Opportunities Documentation (checked )
- Odoo 19.0 Export and Import Data Documentation (checked )
- Odoo 19.0 Automation Rules Documentation (checked )
- Salesforce Weekly Export Service Documentation (checked )