Skip to content

Odoo Node still uses deprecated RPC endpoints (Odoo 19+) #21545

Description

@Mika9999

Bug Description

I’m currently using n8n v1.118.1 with Odoo 19.0 in a local Docker setup. Everything technically works, but Odoo now throws the following warning every time the node runs:

odoo.addons.rpc.controllers.jsonrpc: The /xmlrpc, /xmlrpc/2 and /jsonrpc endpoints are deprecated in Odoo 19 and scheduled for removal in Odoo 20. Please report the problem to the client making the request.
Mute this logger: --log-handler odoo.addons.rpc.controllers.jsonrpc:ERROR

Basically, the Odoo node in n8n is still using the old XML-RPC/JSON-RPC API, which has now been deprecated. Starting with Odoo 19, they’ve introduced a new JSON-2 API, and the old endpoints are planned to be removed completely in Odoo 20.

Official Odoo docs on this change:
https://www.odoo.com/documentation/latest/developer/reference/external_api.html#migrating-from-xml-rpc-json-rpc

Would love to see this updated before Odoo 20 comes out to keep compatibility intact 🙏

To Reproduce

  1. Run Odoo 19 and n8n 1.118.1 in Docker.
  2. Add any Odoo node (e.g., “Find Record” or “Create Record”).
  3. Execute the workflow.
  4. Check the Odoo logs — you’ll see the deprecation warning above.

Expected behavior

The Odoo node should communicate with Odoo using the new JSON-2 API to avoid future compatibility issues.

Debug Info

The node still uses the deprecated RPC endpoints (/xmlrpc, /xmlrpc/2, /jsonrpc), which will stop working entirely once Odoo 20 is released:

odoo.addons.rpc.controllers.jsonrpc: The /xmlrpc, /xmlrpc/2 and /jsonrpc endpoints are deprecated in Odoo 19 and scheduled for removal in Odoo 20. Please report the problem to the client making the request.
Mute this logger: --log-handler odoo.addons.rpc.controllers.jsonrpc:ERROR

Operating System

Debian 12.12

n8n Version

1.118.1

Node.js Version

10.9.4

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions