Let's do something interesting with the RPC API. What if users could manage their Odoo to-do tasks directly from their computer's desktop? Let's write a simple Python application to do just that, as shown in the following screenshot:
For clarity, we will split it into two files: one concerned to interact with the server backend,
note_api.py, and another with the graphical user interface,
We will create a class to set up the connection and store its information. It should expose two methods:
get() to retrieve task data and
set() to create or update tasks.
Select a directory ...