Show Odoo data in Salesforce
Connect Odoo and Salesforce to Portal. Odoo customers and contacts become Salesforce accounts and contacts, each account can show balance, open orders and credit hold, and every an Odoo quotation can be tracked as an opportunity.
What reaches Salesforce from Odoo.
| Salesforce | From Odoo | Direction |
|---|---|---|
| Account | Each Odoo customer, the Odoo contact, with credit hold marked by a tag you choose: name, phone and the website from the email domain, matched on a Portal ID field | Portal writes; unmatched Salesforce accounts come in as company leads |
| Contact | The Odoo contacts of each linked customer | Portal writes; contacts made only in Salesforce come into Portal, and an edit to a Odoo contact becomes a change for your team to approve |
| Account summary fields (optional) | The customer's open balance and customer number, the count of open orders, the last five orders with status, and credit hold | Portal writes, as text fields on the account |
| Opportunity | One per an Odoo quotation or order, with its total and close date | Portal writes; Salesforce changes to it are not read back |
| Product (optional) | Item code, stock by Odoo location as on hand and available, and the base price | Portal writes |
| Lead, Task, Note | Salesforce leads, tasks and notes | Portal reads them; workflows, agents and staff can create new ones |
Connect Odoo and Salesforce.
Create an Odoo API key and connect
In Odoo, sign in as the integration user and create an API key under Preferences, Account Security. Under Setup, ERP, ERP system in Portal, choose Odoo and enter your Odoo address, the database name, the user's login, the API key and the customer tag that marks credit hold, then choose Test connection.
Connect Salesforce
In Connect, Integrations, Salesforce, choose Connect Salesforce and sign in as a Salesforce administrator. Portal adds a Portal ID field to accounts, contacts and opportunities, the account summary and product stock fields, and a Portal integration permission set, then runs a first sync of your Odoo customers and contacts.
Choose what Portal writes
Tick Also write balance, open orders, recent orders and credit hold on each Salesforce account so reps see the Odoo numbers on the account page. Turn on Products and stock to send item stock and base prices. Accounts Portal cannot match with confidence wait under Companies to check for staff to approve.
Track quotes as opportunities
Add the Create CRM deal action to a workflow that runs when a quote is sent, and Change CRM deal when it is won or lost. Each an Odoo quotation becomes an opportunity at Proposal/Price Quote and moves to Closed Won when Portal confirms the quotation in place in Odoo, so the order keeps the quotation number.
Give reps the rest in the rep portal
Reps sign in to their own Portal site and see only their assigned customers with balance, credit limit and credit hold. They can open each customer's posted Odoo customer invoices and place orders, quotes and returns on the customer's behalf, logged under their name.
How Portal reads Odoo.
Portal connects to Odoo 17 and later through Odoo's external API, signing in as an integration user with an API key created under Preferences, Account Security. Your administrator enters the Odoo address, the database name, the user's login and the key, plus the customer tag that marks a credit hold, since Odoo has no blocking credit hold of its own.
For Odoo on your own servers, Portal can reach it through the On-site connector relay, which runs inside your network and only makes outbound connections. The Odoo connection has passed live tests against a real Odoo 17 database, both directly and through the relay with the real agent.
| Odoo record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | No | Credit hold from a customer tag |
| Products | Yes | No | |
| Pricelists | Yes | No | Each customer's pricelist becomes its price level |
| Stock by location | Yes | No | |
| Quotations | Yes | Yes | Confirmed in place on acceptance, keeping the quote number |
| Sales orders | Yes | Yes | Credit hold and inactive products checked first |
| Customer invoices | Yes | No | |
| Customer payments | Yes | Yes | One payment registered per invoice |
| Deliveries | Yes | No | Carrier and tracking need the delivery module |
| Purchase orders | Yes | Yes | Update scheduled dates and quantities |
| Attachments | No | Yes | On customers, orders and invoices |
What it does not do.
- Invoice lines, payment status and credit limits from Odoo are not written to Salesforce; reps see them in the rep portal.
- Portal syncs with Salesforce every 15 minutes, and soon after customers or contacts change in the ERP. It is not instant.
- Changes made to opportunities in Salesforce are not read back, so winning one there does not start a workflow in Portal.
- The Salesforce connection is tested against a Salesforce stand-in so far, so your Portal team sets it up with you on your org.
Odoo and Salesforce, answered.
Can reps see Odoo payment status in Salesforce?
Not invoice by invoice. With the account summary turned on, each Salesforce account shows the customer's open balance, open and recent orders and credit hold. Reps open posted Odoo customer invoices themselves in the rep portal.
Does Salesforce write anything back into Odoo?
No. Odoo owns customers and their contacts. A Salesforce edit to a Odoo contact becomes a proposed change that staff approve in Portal, and nothing is written into Odoo from Salesforce.
What stops duplicates?
Every account, contact and opportunity carries a Portal ID that Portal upserts on, and orders reaching Odoo carry a portal reference in the order source that Portal checks before every create.
Has the Odoo connection been tested on real Odoo?
Yes. It passes live tests against a real Odoo 17 database, both directly and through the On-site connector relay.