Capsule Import

Import Capsule users, organisations, people, opportunities and notes into Odoo CRM, with a milestone map, user matching and incremental re-runs.

Buy on the Odoo App StoreThe catalogue

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

FeatureWhat it does
UsersMatched to existing Odoo users by e-mail for salesperson assignment; no user is ever created.
Organisations and peopleOrganisations with address, phone, website and background; people under them with e-mail, phones, job title and address.
OpportunitiesValue, probability, expected close date and owner; milestones through an editable map, won and lost from complete milestones, with the lost reason.
NotesNotes and completed tasks in the chatter of their opportunity, organisation or person.
Safe re-runsEvery record is matched by its Capsule id first; organisations, people and opportunities are read incrementally; unchanged records are not written.
API limitsWaits until Capsule's hourly limit resets when asked; long imports continue in the background.
SecurityRead-only use of the Capsule API; the token is visible to administrators only and never logged; only api.capsulecrm.com is called.

Setup

  1. In Capsule: My Preferences > API Authentication Tokens, generate a token.
  2. Odoo: Settings > Capsule. Paste the API Token and click Test Connection.
  3. Click Import from Capsule, choose what to import and click Start Import (or Run in Background).
  4. 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

Automated tests, last run
OdooTests passedLast run
1765
1865
1965
2065

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.

See migration scope and prices [email protected]