In this recipe, we will carry out user authentication through RPC to check whether the supplies credentials are valid.
Logging in/connecting Odoo with XML-RPC
Getting ready
To connect an Odoo instance through RPC, you will need a running Odoo instance to connect with. We will assume that you have the Odoo server running on http://localhost:8069 and you have installed the my_library module.
How to do it...
Perform the following steps to carry out user authentication through RPC:
- Add the odoo_authenticate.py file. You can place this file anywhere you want because the RPC...