odoo_connect
Add or update a connection to an Odoo instance. Supports password or API key authentication, and XML-RPC or JSON-RPC protocols.
Instructions
Add/update an Odoo connection. Auth via password or API key. Protocol: xmlrpc (Odoo 8+) or jsonrpc (Odoo 14+).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Connection name (e.g. 'production', 'staging') | default |
| url | Yes | Odoo URL (e.g. http://localhost:8069) | |
| db | Yes | Database name | |
| username | Yes | Login username | |
| password | No | Password (or leave empty if using api_key) | |
| api_key | No | API key (Odoo 14+, alternative to password) | |
| protocol | No | xmlrpc | |
| verify_ssl | No | True = standard CA verification (default). False = allow self-signed. On first use the peer cert is fetched and pinned under /data/ssl_certs/<alias>.pem for subsequent calls (trust-on-first-use). Set False for on-prem clients with private CA or self-issued certs. |