Odoo consultants for regulated manufacturers · code you keep

Integrations · Odoo guide

How do I connect Odoo to Salesforce or HubSpot?

Keep CRM in Salesforce or HubSpot while Odoo runs quotes, orders, inventory, and invoicing by syncing accounts, contacts, opportunities, and products on a schedule or webhook. Map stages to sale.order states, avoid duplicate pipeline ownership, and use middleware with field-level rules so marketing stays in CRM and fulfillment stays authoritative in Odoo stock models.

By Chase Robbins, Operator & Founder at The ERP Firm · Last updated October 24, 2026

Steps

  1. Define system of record per object: leads in CRM, SO and stock in Odoo.
  2. Install connector or use iPaaS with OAuth to Salesforce REST or HubSpot APIs.
  3. Map res.partner and crm.lead fields including external IDs for idempotent upserts.
  4. Sync product catalog one-way from Odoo to CRM price books or quotes.
  5. Trigger sale.order creation when opportunity reaches Won with line items.
  6. Push order status and delivery tracking back to CRM custom objects.
  7. Log errors and dead-letter queue for failed sync rows with admin alerts.

Common mistakes

  • Bi-directional product edits causing SKU chaos.
  • Creating SO before credit limit or stock check in Odoo.
  • Missing company_id on multi-company partner sync.
  • Syncing every chatter message overwhelming API limits.
  • No dedupe key on email for contact merge conflicts.

Odoo version notes

CRM connectors are external for Odoo 16–18; Enterprise crm app can replace HubSpot for simpler stacks. Salesforce integrations often use Heroku or Mulesoft with Odoo JSON-RPC. Test API rate limits on Odoo.sh shared workers. HubSpot custom objects need mapping updates when Odoo sale fields change on upgrade.

When to bring in help

If the fix touches custom modules, regulated traceability, or production outages, a focused rescue sprint beats months of trial and error. See our Odoo service.

FAQ

Follow-up questions

Should quotes live in CRM or Odoo?
Many teams quote in Odoo sale.order for accurate stock; CRM shows summary fields only.
Real-time or batch?
Won deals are near-real-time; catalog sync is usually nightly.
Does Marketing Hub need Odoo data?
Push customer segments from Odoo invoicing history via reverse sync or warehouse export.

Book a scoping call for your Odoo environment.

Bring your version, user count, and the workflow that is blocked today.

Book a scoping call