Salesforce Import
by CRM Smiths https://crmsmiths.com/odoo-apps/salesforce-import/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_salesforce_import$ 249.00
Salesforce Import
Salesforce Import for Odoo
Import Salesforce users, accounts, contacts, leads, opportunities, notes, tasks and events into Odoo CRM, with a stage map, user matching, incremental re-runs and Recycle Bin deletes.
Independent integration by CRM Smiths, using the Salesforce REST API (v67.0) read-only, with the OAuth 2.0 client credentials flow. Not affiliated with or endorsed by Salesforce.
What it does
Brings a Salesforce org into Odoo CRM: Salesforce users are matched to your Odoo users, accounts become companies with their contacts, leads and opportunities land in the Odoo pipeline through a stage map filled from your own opportunity stages, and notes, tasks, calls and events become internal notes in the chatter of the right record.
Re-runs read only what changed in Salesforce (SystemModstamp) and never duplicate; records moved to the Salesforce Recycle Bin are archived in Odoo. Each step writes a row in the Import History with created, updated, archived and skipped records, API calls and the API requests your org has left today.
Screenshots

Salesforce settings: My Domain URL, consumer key and masked consumer secret, connection status and import counts.

The import wizard: users, accounts, contacts, leads, opportunities, notes, tasks and events, now or in the background.

An imported opportunity with the salesperson matched by e-mail and its Salesforce call and meeting in the chatter.

Import history: one row per step with created, updated, archived and skipped records and the API requests left today.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (73 offline tests) passes on all four versions.
Depends on: CRM, Contacts and Discuss (crm, contacts, mail); Python requests.
Setup
- Salesforce Setup: create an external client app (or connected app) with OAuth, enable the client credentials flow and choose a run-as user who can read accounts, contacts, leads, opportunities, notes, tasks and events (scope "Manage user data via APIs").
- Odoo: Settings > Salesforce. Enter your My Domain URL (https://mycompany.my.salesforce.com), the consumer key and the consumer secret, then click Test Connection.
- Click Import from Salesforce, choose what to import and click Start Import (or Run in Background for a large org).
- Check the User Map (Salesforce users matched by e-mail) and the Stage Map (your opportunity stages, with closed and won as Salesforce defines them), then run again: only changes are read.
Features
| Feature | What it does |
|---|---|
| Users | Standard Salesforce users matched to existing Odoo users by e-mail for salesperson assignment; no user is ever created. |
| Accounts and contacts | Companies and their people with billing and mailing addresses, phones, e-mail, industry and description. |
| Leads | With source and status; converted leads are archived, unqualified leads marked lost. |
| Opportunities | Amount, probability, close date and stage; won and lost exactly as Salesforce marks them (IsWon, IsClosed); the deal's contact at its company. |
| Notes, tasks, calls and events | Internal notes in the chatter of the account, contact, lead or opportunity they belong to, with due date, status, time and place. |
| Incremental re-runs | Only records changed since the last import are read; every record is matched by its Salesforce id first. |
| Deletes | Records moved to the Salesforce Recycle Bin are archived in Odoo, never deleted. |
| API limits | Only fields that exist in your org are requested; the API requests left today are kept in the history; large imports save as they go and continue in the background. |
| Security | Read-only; the consumer secret is visible to administrators only and never logged; only your *.my.salesforce.com host is ever called; the Salesforce link fields can only be set by the import and administrators. |
What it does not do
- Export from Odoo to Salesforce (one-way import).
- Lightning notes (ContentNote), e-mails (EmailMessage), attachments, campaigns, cases, quotes and custom objects.
- Person accounts as individuals (they are imported as companies); currency conversion.
- Creating Odoo users.
FAQ
Which Salesforce editions work?
Editions with REST API access. The import uses the OAuth 2.0 client credentials flow of an external client app with a run-as user.
Does a second import create duplicates?
No. Records are matched by their Salesforce id; a re-run only reads what changed since the last import.
What happens to records deleted in Salesforce?
If they are in the Recycle Bin when the next import runs, their Odoo record is archived. Nothing is deleted in Odoo.
How many API requests does it use?
One per 2,000 records read, plus a few for the stages and the field list. The requests your org has left today are shown in the Import History.
Are my Lightning notes imported?
Not in this version: classic notes, tasks, calls and events are. Write to us if you need Lightning notes.
Support
Questions, problems or a feature you need: write to hello@crmsmiths.com. Please include your Odoo version and, for an error, the message shown and the matching row of the module's history.
Published by CRM Smiths. Independent integration; not affiliated with or endorsed by Salesforce.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Contacts (contacts) • Discuss (mail) • Calendar (calendar) |
| Lines of code | 2348 |
| Technical Name |
cs_salesforce_import |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/salesforce-import/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_salesforce_import |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please log in to comment on this module