What happens to your closed opportunity history when you leave Salesforce

Your Closed Won and Closed Lost opportunities migrate cleanly from Salesforce into Odoo CRM as won or archived lost records with their original close dates, amounts, owners, emails, and attachments intact. What does not carry over automatically is Salesforce's system audit log for stage changes, which must be extracted separately before Salesforce's 24-month history retention window expires and mapped into preserved reference fields or chatter notes.

Key facts

  • Salesforce retains standard Field History Tracking for 18 months in reports and the user interface, and up to 24 months via Data Loader Export All before purging. Source: help.salesforce.com
  • In Odoo 19 CRM, marking an opportunity as Lost automatically archives the record and sets its probability to 0% rather than leaving it in a Kanban column. Source: odoo.com
  • Odoo 19 Pipeline Analysis win/loss reports require enabling the Include archived toggle so historical Lost deals appear alongside Won deals. Source: odoo.com
Bound archival ledger binders and sales summary folders arranged neatly on an office shelf
On this page

What moves for closed deals and what changes in Odoo

Closed Won and Closed Lost deals transfer completely into Odoo CRM—preserving revenue, close dates, account relationships, rep ownership, emails, and attachments—while Salesforce’s internal field-audit tables require a separate extract and mapping strategy. As detailed in our Salesforce to Odoo migration guide, treating closed history as first-class data rather than leaving it behind in a PDF archive is what protects ten years of customer memory.

Salesforce record or attribute How it lands in Odoo 19 CRM What to watch before importing
Closed Won Opportunity crm.lead in a stage flagged Is Won Stage Map CloseDate into date_closed and Amount into expected_revenue
Closed Lost Opportunity crm.lead with active = False (archived) and probability = 0 Map Loss Reason to Odoo crm.lost.reason records first
Legacy Stage and Picklist values Normalized Odoo fields plus preserved original text fields Retain raw Salesforce strings so historical audits stay exact
OpportunityHistory (Stage, Amount, Close Date changes) Chatter log notes or summary reference fields Export separately; read-only Salesforce history tables do not auto-populate Odoo tracking
EmailMessage and ContentVersion files Chatter thread messages and ir.attachment records Follow our data and attachment export steps

How a manufacturer rep agency kept 20,000+ closed deals

Fear of losing historical deal context is the single biggest reason sales owners renew Salesforce contracts they no longer like. In a Salesforce to Odoo migration completed for a manufacturer rep agency with roughly 28,000 opportunities—more than 20,000 of them closed over years of operations—the agency needed every won line review, lost quote, and email thread searchable inside Odoo without cluttering Monday’s open pipeline.

Instead of importing dirty historical stages as-is or truncating deals older than three years, the project ran a backup-first CRM data cleanup alongside the load:

  1. Snapshot everything first: Every object was written to timestamped backup CSVs before a single field changed.
  2. Preserve original Salesforce values: Legacy picklists and stage labels were consolidated into a clean Odoo stage set, while each record kept its original unedited Salesforce values in dedicated reference fields.
  3. Close stale open deals cleanly: Between 187 and 194 forgotten open opportunities that had sat untouched past the agency’s cutoff were moved to Lost with leadership sign-off rather than deleted.
  4. Fix default list views: Pairing clean closed-deal flags with scoped Quick Lists—such as a 12-month Won and Lost default filter—trimmed one rep team’s working view from 1,142 rows down to 91 actionable deals.

Here is how a single synthetic historical record maps from Salesforce into Odoo during that workflow:

Field Raw Salesforce value (synthetic) Migrated Odoo value Preserved reference field
External ID (ID) 0065e00000AbCdEAAU sf_opp_0065e00000AbCdEAAU x_sf_id = 0065e00000AbCdEAAU
Opportunity Name Midwest Hardware - Spring Line Review Midwest Hardware - Spring Line Review —
Stage / Status Closed Lost - No Budget 2023 Archived (active = False), Lost Reason: Budget x_sf_stage = Closed Lost - No Budget 2023
Outcome Tag Line Rev. (inconsistent typo) Line Review x_sf_outcome_raw = Line Rev.
Close Date 2023-04-18 2023-04-18 (ISO YYYY-MM-DD) —

Salesforce field history retention limits you need to check early

If your sales ops team tracks how often reps push close dates or discount amounts before deals close, pull those logs early because Salesforce deletes standard history automatically. Under Salesforce’s Field History Tracking policy (checked Nov 2026), standard field history stays visible in UI reports for 18 months and remains accessible via Data Loader (Export All with Use Bulk API unchecked) or the API queryAll() call for up to 24 months.

After 24 months, Salesforce permanently purges standard OpportunityFieldHistory rows unless your org pays for Salesforce Shield Field Audit Trail. Even for OpportunityHistory (which logs Stage, Amount, Probability, and Close Date changes), Bulk API exports skip archived rows, so your extract must use standard REST/SOAP queryAll() before your Salesforce subscription expires.

Why Odoo archives Lost opportunities and how reporting handles them

New Odoo users often panic right after a trial load because their Closed Lost deals vanish from the main CRM Pipeline Kanban board. That behavior is intentional in Odoo 19, not a failed import.

Per Odoo 19’s Lost opportunities documentation (checked Nov 2026), Lost is not a pipeline column; marking an opportunity Lost sets its probability to 0% and archives the record (active = False) so daily Kanban views stay focused on live revenue. To pull historical losses back into view, users click Filters > Lost (and remove the default My Pipeline filter to inspect team-wide history). If a buyer returns months later, clicking Restore—or selecting rows in List view and choosing Action > Unarchive—brings the deal right back into the active pipeline.

Reporting works the same way. According to Odoo 19’s Pipeline Analysis documentation (checked Nov 2026), building an accurate historical win/loss analysis requires creating a custom filter for Won/Lost = Won or Won/Lost = Lost and turning on the Include archived toggle in the search panel. Without Include archived enabled, your win rate reads 100% because every archived Lost deal is excluded.

How sales teams actually search closed deals day to day

When a rep or manager wants to check what happened on an account two years ago before walking into a renewal or line review, they do not need a separate data warehouse:

  • On the Account / Contact record: Opening the company card in Odoo shows total opportunity count in the smart button at the top; removing the Active filter inside that smart button reveals every Won and archived Lost deal for that account in chronological order, complete with chatter emails and attachments.
  • In Quick Lists: A pre-built Won and Lost (12-Month Default) Quick List lets managers review recent outcomes without loading 20,000 rows from 2016 on every page refresh, while widening the date filter pulls multi-year history on demand.
  • In Pivot and Cohort views: Grouping Pipeline Analysis by Closed Date (year or quarter), Salesperson, and Lost Reason lets sales ops compare close rates across years with one toggle.

How inactive Salesforce owners, line items, and price books migrate

Deactivated Salesforce rep accounts do not need paid Odoo user licences to keep historical ownership intact, while opportunity product lines and price books migrate only when your scope includes Products and Quotes. Sorting out those two details early prevents surprise licence bills and broken SKU joins on historical Won deals.

  • Former sales reps (OwnerId): Every 5-to-10-year Salesforce org contains thousands of closed deals owned by reps who left years ago. Under Odoo 19’s Users documentation (checked Nov 2026), paid subscriptions count active internal database users. During migration, you map departed reps to archived internal users or a fallback manager while writing their original Salesforce full name into a preserved x_sf_owner_raw field—keeping historical rep scorecards accurate without paying for extra seats.
  • Line items and price books (OpportunityLineItem): In Odoo CRM, opportunities track total expected revenue on crm.lead, whereas itemized product lines live on linked quotations and sales orders created when the Sales app is installed (Odoo 19 Create and Send Quotations documentation, checked Nov 2026). On our migration packages, Launch ($8,500) migrates Opportunities with header totals, while Standard ($15,000) and Scale ($24,000) include Products and Price Books so active CRM quotations and orders work on day one.

Which closed deals belong in Odoo vs. an offline archive

Importing every genuine Closed Won and Closed Lost deal keeps multi-year account memory searchable inside Odoo, whereas forgotten open deals sitting untouched for years should be closed as Lost during cleanup rather than deleted. Deleting history wipes out seasonal buying patterns and customer objection context; archiving cleanly preserves both speed and auditability.

Deal bucket Recommended action Resulting Odoo state Impact on Monday pipeline
Active open deals Migrate as-is with normalized stages Active crm.lead in open Kanban column Appears in My Open Pipeline immediately
Recent Closed Won / Lost (0–3 years) Migrate with full emails, attachments, and Lost Reasons Won stage or archived (active = False) Lost Drives 12-month Quick Lists and Odoo pivot boards
Deep Closed history (3–10+ years) Migrate to Odoo with preserved x_sf_* fields; exclude from default 12-month Quick List Won or archived Lost under each Account Zero clutter on daily views; searchable on demand
Stale open deals past cutoff Close as Lost in cleanup with leadership sign-off and backup CSV Archived (active = False) with stale-cleanup Lost Reason Stops dead deals from inflating open forecast

Say a hypothetical 30-seat distributor enters migration with 18,000 Salesforce opportunities spanning eight years: 400 active open deals, 17,400 closed deals, and 200 forgotten open opportunities untouched for 18 months. Closing those 200 stale records as Lost—one of the core Salesforce migration mistakes we fix—prevents a distorted forecast on day one while keeping all 18,000 records intact under each buyer account.

How to verify closed history during trial loads

Never wait until cutover weekend to discover that 10,000 closed deals landed with missing close dates or broken currencies. Use Odoo’s ID (External ID) mapping column (Odoo 19 Export and Import documentation, checked Nov 2026) during two separate trial loads and run three checks before signing off:

  1. Year-by-year count and revenue tie-out: Compare total Won deal counts and dollar totals by fiscal year in Salesforce against Odoo’s Pipeline Analysis pivot grouped by Closed Date with Include archived active.
  2. ISO date formatting check: Confirm CSV dates were imported in YYYY-MM-DD format so 01-03-2022 never flips day and month across historical quarters.
  3. Ten-record closed deal spot-check: Open five old Closed Won deals and five Closed Lost deals across different reps, checking that original Salesforce picklists, chatter emails, and quote PDFs appear on each record.

If you want a line-by-line inventory of how many closed deals, field histories, and messy picklists sit in your org before committing to a move, start with our Salesforce Exit Audit or review how our Quick Lists cleanup keeps large historical databases fast on day one.

Frequently asked questions

Do we lose Closed Won and Closed Lost deals when leaving Salesforce for Odoo?

No. Closed Won and Closed Lost opportunities migrate directly into Odoo's crm.lead model with their close dates, revenue figures, account links, emails, and attachments intact. Closed Won records enter your Won stage, while Closed Lost records are imported as archived with active set to false and a mapped Lost Reason.

Why can't we see Lost deals on the Odoo pipeline Kanban board after migration?

Odoo CRM treats Lost as an archived state rather than a Kanban stage column. By default, Odoo hides archived records from active pipeline views so reps only see live opportunities. To view historical Lost deals in Odoo 19, open the search bar Filters menu and select Lost or Archived.

Does Salesforce OpportunityHistory migrate into Odoo stage-change timestamps?

Not natively. Salesforce's OpportunityHistory and OpportunityFieldHistory tables are read-only audit logs that do not convert into Odoo tracking fields during a standard CSV import. To preserve stage velocity or historical field changes, teams export those history tables via API and write summaries into Odoo chatter notes or custom fields.

Should we delete old stale opportunities before migrating to Odoo?

No. Deleting old opportunities destroys agency memory, account buying cycles, and win/loss baselines. Instead, export a timestamped backup CSV, close forgotten open deals past an agreed cutoff date as Lost with a stale-cleanup reason, and store original Salesforce stage and picklist values on every migrated record.

How far back can we pull Salesforce field history before leaving?

Standard Salesforce Field History Tracking stores up to 18 months of changes in the UI and standard reports, and up to 24 months through API queryAll or Data Loader Export All with Bulk API disabled. Any history older than 24 months is permanently purged unless your org pays for Salesforce Shield Field Audit Trail.

Do we have to pay for Odoo seats for former sales reps on historical closed deals?

No. You do not need active paid Odoo user seats just to preserve past ownership on closed deals. During migration, former Salesforce reps are either mapped to archived Odoo user records or assigned to a fallback owner while storing the original Salesforce rep name in a preserved text reference field for historical reporting.

Sources

  1. Salesforce Help: Field History Tracking Retention (checked )
  2. Odoo 19.0 Lost Opportunities Documentation (checked )
  3. Odoo 19.0 Pipeline Analysis and Win/Loss Report Documentation (checked )
  4. Odoo 19.0 Export and Import Data Documentation (checked )
  5. Odoo 19.0 Users Documentation (checked )
  6. Odoo 19.0 Create and Send Quotations Documentation (checked )