Connect Odoo ERP (Versions 14 through 20)
Connect Odoo ERP via XML-RPC and JSON-RPC, test connections, configure multi-company/warehouse settings, and review version compatibility.
Required Credentials & Odoo User Setup
ERP Link connects to Odoo via native XML-RPC and JSON-RPC protocols, meaning no custom third-party modules or apps are required inside your Odoo instance.
Setting Up the Odoo Integration User:
- Sign in to your Odoo instance as an Administrator.
- Navigate to
Settings > Users & Companies > Users. - Create a dedicated integration user (e.g.,
erplink_sync). - Assign the following access rights:
* Sales: Administrator.
* Accounting: Accountant or Invoicing Manager.
* Inventory: Administrator.
- In the user form, open the Account Security tab and generate a new API Key (strongly recommended over plain passwords).
Testing Connection & Selecting Company
- In your ERP Link dashboard, navigate to Connect Odoo (
/app/connect-odoo). - Input your connection parameters:
* Odoo URL: Your secure HTTPS instance address (e.g., https://mycompany.odoo.com).
* Database Name: Exact database name.
* Username: Email address of your integration user.
* API Key / Password: The API key generated above.
- Click Test Connection.
- Our server initiates an XML-RPC handshake, authenticates the session, and auto-detects the exact Odoo version.
- Upon success, dynamic dropdowns populate from your live ERP:
* Company: Choose the operating company matching this store.
* Default Warehouse: Choose the warehouse from which stock pickings originate.
- Click Save Connection.
Odoo Version Compatibility Matrix (14-20)
ERP Link's Odoo engine is thoroughly verified across Odoo releases via 187 test suites (2,354 unit tests):
| Odoo Version | Connection Status | Analytic Distribution | Partner Mobile Field | Delivery & Picking Rules |
|---|---|---|---|---|
| Odoo 14 | Fully Supported | analytic_account_id | Supported (mobile) | Standard pickings |
| Odoo 15 | Fully Supported | analytic_account_id | Supported (mobile) | Standard pickings |
| Odoo 16 | Fully Supported | analytic_account_id | Supported (mobile) | Standard pickings |
| Odoo 17 | Fully Supported | analytic_distribution (JSON) | Supported (mobile) | Modern analytic multi-plan model |
| Odoo 18 | Fully Supported | analytic_distribution (JSON) | Supported (mobile) | Modern analytic multi-plan model |
| Odoo 19 | Fully Supported | analytic_distribution (JSON) | Removed in Odoo 19 (Auto-omitted by engine) | Modern delivery validation |
| Odoo 20 | Fully Supported | analytic_distribution (JSON) | Guarded child/parent contact schemas | Advanced reversal pickings & credit notes |
Our engine automatically parses server version details (`parseOdooVersionInfo`) and adapts RPC payloads dynamically without manual adjustments.
Security & SSRF URL Validation
To safeguard against Server-Side Request Forgery (SSRF):
- Connection attempts to internal IP addresses (
localhost,127.0.0.1,192.168.x.x,10.x.x.x) are strictly blocked. - Odoo servers must be publicly reachable over valid HTTPS certificates.
Common Odoo Connection Errors
- "Access Denied" or Authentication Failure:
* *Cause:* Incorrect username, API key, or database name.
* *Resolution:* Re-verify database name via /web/database/selector and ensure API key is copied accurately.
- "Cannot connect to server" or Request Timeout:
* *Cause:* Odoo firewall or hosting provider blocking inbound XML-RPC requests.
* *Resolution:* Ensure port 443 (HTTPS) is accessible externally.
Encountered an issue applying this guide?
Open a support ticket to have our engineering desk inspect logs directly.