How to connect on-prem Odoo without opening a port
Install the On-site connector on a Windows machine that can reach Odoo and pair it with a one-time code. It only makes outbound HTTPS connections, so Odoo stays behind your firewall with no port to open.
About Odoo.
Odoo is a suite of open source business apps, from CRM and sales to accounting, inventory and manufacturing, all on one platform. Odoo Community is licensed under the LGPL version 3, and Odoo Enterprise is built on top of it under Odoo's own license.
You can run it on Odoo Online, on the Odoo.sh cloud platform, or on your own servers. Odoo ships one major version a year and supports the last three; Odoo Online also gets intermediate versions every two months that are not released for Odoo.sh or on-premises.
Odoo is priced per user, but external users such as customers and suppliers using Odoo through its portal are not paying users.
Portal by Webisoft is a B2B portal for Odoo: customer self-service and team apps on live Odoo data.
Why connecting to Odoo is hard.
Odoo on your own servers is often only reachable inside your network, and exposing it for each cloud tool is what IT avoids.
The external API depends on your plan
Odoo states that access to data through the external API is only available on Custom pricing plans, not on One App Free or Standard. Before any integration, check which plan your database is on.
The classic API is being replaced
Odoo has scheduled the /xmlrpc and /jsonrpc endpoints for removal in Odoo 22 in fall 2028, and in Odoo Online 21.1 in winter 2027, in favour of the new JSON-2 API. Most existing Odoo integrations use the classic endpoints and will need to move.
API keys expire
From Odoo 19, an API key cannot be created for more than three months, so long-running integrations have to rotate their key at least every three months. Odoo recommends dedicated bot users for integrations.
A new major version every year
Only the last three major versions are supported, and Odoo Online moves even faster with releases every two months. Field and model changes between versions are a common reason integrations break after an upgrade.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Odoo add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Odoo write rules yourself. |
| Custom code | The need is unique and you have developers who know Odoo. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Odoo data. | It works on top of Odoo; it does not replace it. |
How Portal reaches 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.
What you need.
- Odoo 17 or later, on an Odoo plan that includes the external API
- A Windows Server 2016 or later, or Windows 10 or later, machine on the same network
- Outbound HTTPS from that machine to Portal
Step by step.
Your Portal team sets up the Odoo connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Generate a pairing code
In Portal, ERP, On-site connector, an admin chooses Generate pairing code. It works once and expires after 15 minutes.
Install and pair the agent
Install the On-site connector on the Windows machine, then in an admin command prompt run portal-on-site pair with the code.
Reach Odoo on your servers through the relay
Run portal-on-site configure relay, choose the Odoo connector and enter the Odoo address as the agent sees it, for example its internal host and port. In Portal, set the Odoo connection to go through the agent. The database, login and API key stay the same.
Test, start and watch
Run portal-on-site test, start the Portal On-site Connector service, then check ERP, Sync health in Portal for the connector status and the data received.
What syncs with 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 you can do next.
- IT approves the setup because Odoo gets no inbound rule and no VPN.
- When the server moves, revoke the old agent and pair a new one with a fresh code.
Odoo questions, answered.
Does Odoo need to be on the internet?
No. The agent calls out to Portal over HTTPS; nothing calls in.
What does the agent log?
For relayed requests, only the method, path, status and duration, kept on the machine for 14 days. Its secrets are encrypted on that machine.
How do we know it is working?
ERP, Sync health shows the connector online or offline, what it sent in the last 24 hours and any failed batches you can try again.
Keep going.
- Connect an on-prem ERP safely: overview
- B2B portal for Odoo
- Connect an AI agent to your ERP, Odoo
- Automate order entry from email, Odoo
- Take invoice payments online, Odoo
- Give customers order status, Odoo
- Build a B2B ordering portal, Odoo
- Quotes customers accept online, Odoo
- Triage a shared inbox, Odoo
- Add approval workflows, Odoo
- One REST API for your ERP, Odoo