Chapter 20: Remote Procedure Calls in Odoo
The Odoo server supports Remote Procedure Calls (RPCs), which means that you can connect Odoo instances from external applications, an example being if you want to show the status of a delivery order in an Android application, which is written in Java. Here, you can fetch the delivery status from Odoo via RPC. With the Odoo RPC API, you can perform any CRUD operations on a database. Odoo RPC is not limited to CRUD operations; you can also invoke public methods of any model. Of course, you will need to have proper access to rights to perform these operations because RPC respects all of the access rights and record rules you have defined in your database. Consequently, it is very safe to use because the ...
Get Odoo 14 Development Cookbook - Fourth 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.