In the previous recipe, we created the IAP service module. Now, we will create an IAP client module to complete the IAP service flow.
Creating an IAP client module
Getting ready
We will need the my_library module from Chapter 4, Creating Odoo Add-On Modules. We will add a new button in the book's form view, and clicking that button will create a request to an IAP service and fetch the book data.
As per the IAP service flow, the customer makes the request to the service provider. Here, to make a customer's request, we need to run the separate server for the IAP service. If you want to test this on the same machine, you can run the service instance on a different port and different database, like this:
./odoo-bin ...