In this chapter, we will be using the
my_library module, which we created in Chapter 19, Managing, Deploying, and Testing with Odoo.sh. You can find the same initial
my_library module in the GitHub repository: https://github.com/PacktPublishing/Odoo-12-Development-Cookbook-Third-Edition/tree/master/Chapter19/r0_initial_module.
Here, we will not introduce a new language as you may not be familiar with it. We will continue using Python to access the RPC API. You can use another language if you want to, as the same procedure can be applied in any language to access the RPC.
To connect Odoo through the RPC, you will need a running Odoo instance to connect with. Throughout this chapter, we will assume that you have the Odoo server running on
http://localhost:8069, that you called the
book-db-14 database, and that you have installed the
my_library module therein. Note that you can connect any valid IP or domain through the RPC.