Technical requirements
In this chapter, we will be using the my_hostel
module, which we created in Chapter 19, Managing, Deploying, and Testing with Odoo.sh. You can find the same initial my_hostel
module in the GitHub repository: https://github.com/PacktPublishing/Odoo-17-Development-Cookbook-Fifth-Edition/tree/main/Chapter20.
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:8017
, that you called the cookbook_17e
database, and that you have installed the my_hostel
module therein. Note that you can connect any valid IP or domain through the RPC.