Technical requirements

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 on the GitHub repository: https://github.com/PacktPublishing/Odoo-12-Development-Cookbook-Third-Edition/tree/master/Chapter20/r0_initial_module.

Here, we will not introduce a new language as the reader might 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 and called test-12 database and that you have installed the my_library module in it. Note that you can connect any valid IP or domain through the RPC.

Check out the following video to see the Code in Action: http://bit.ly/2UJTJZT

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset