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 RPC respects all access rights and record rules. Odoo RPC is not platform-dependent, so you can use it on any platform, including Odoo.sh, online, or self-hosted platforms. Odoo RPC can be used with any programming language, so you can integrate...