Introducing the OdooRPC library

Another relevant client library to be considered is OdooRPC. It is a more modern client library that uses the JSON-RPC protocol instead of XML-RPC. The fact is that the Odoo official web client uses JSON-RPC, and the original XML-RPC is supported mostly for backward compatibility.

OdooRPC is now under the Odoo Community Association umbrella and is being actively maintained. You can learn more about it at https://github.com/OCA/odoorpc.

The way the Odoo API is used is not very different whether you are using JSON-RPC or XML-RPC. So, you will see that, while some details differ, the way these different client libraries are used is not very different.

OdooRPC sets up a server connection when a new odoorpc.ODOO ...

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.