Capsule Import
Import Capsule users, organisations, people, opportunities and notes into Odoo CRM, with a milestone map, user matching and incremental re-runs.
What it does
Brings a Capsule account into Odoo CRM: users are matched to your Odoo users, organisations arrive with their people, opportunities land in the Odoo pipeline through a map of your milestones (won and lost from complete milestones, with Capsule's lost reason), and notes and completed tasks become internal notes.
Re-runs never duplicate and write only what changed. Each step writes a row in the Import History with created, updated and skipped records and the requests left this hour.
Demo video
The video loads from YouTube (privacy-enhanced mode) when you press play. Watch on YouTube
Features
| Feature | What it does |
|---|---|
| Users | Matched to existing Odoo users by e-mail for salesperson assignment; no user is ever created. |
| Organisations and people | Organisations with address, phone, website and background; people under them with e-mail, phones, job title and address. |
| Opportunities | Value, probability, expected close date and owner; milestones through an editable map, won and lost from complete milestones, with the lost reason. |
| Notes | Notes and completed tasks in the chatter of their opportunity, organisation or person. |
| Safe re-runs | Every record is matched by its Capsule id first; organisations, people and opportunities are read incrementally; unchanged records are not written. |
| API limits | Waits until Capsule's hourly limit resets when asked; long imports continue in the background. |
| Security | Read-only use of the Capsule API; the token is visible to administrators only and never logged; only api.capsulecrm.com is called. |
Setup
- In Capsule: My Preferences > API Authentication Tokens, generate a token.
- Odoo: Settings > Capsule. Paste the API Token and click Test Connection.
- Click Import from Capsule, choose what to import and click Start Import (or Run in Background).
- Check the Stage Map (one row per milestone) and the User Map, then run again whenever you like.
Requirements
- Odoo 17, 18, 19 or 20, Community edition
- Odoo apps: CRM, Contacts, Discuss
- Python requests on the Odoo server
What it does not do
- Export from Odoo to Capsule.
- Records deleted in Capsule, projects, open tasks, recorded e-mails, tags, custom fields and attachments.
- Creating Odoo users.
Tests
| Odoo | Tests passed | Last run |
|---|---|---|
| 17 | 65 | |
| 18 | 65 | |
| 19 | 65 | |
| 20 | 65 |
The tests ship with the module source, so you can run them on your own server.
Questions
Which token should I use?
A personal API token from My Preferences > API Authentication Tokens. The import reads what that user can see.
Does a second import create duplicates?
No. Records are matched by their Capsule id; unchanged records are not written again.
Why are notes read in full on every run?
The Capsule API has no "changed since" filter for notes. They are read in full and only the changed ones are written.
How are won and lost opportunities found?
From the milestone: a complete milestone with probability 100 is won, 0 is lost. You can change any row of the Stage Map.
Would you rather we ran the migration?
CRM Smiths runs managed CRM migrations into Odoo: fixed scope, published prices, from $8,000.