-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Odoo 14 Development Cookbook
By :

In the previous recipe, we created the IAP service module. Now, we will create an IAP client module to complete the IAP service flow.
We will need the my_library
module from Chapter 3, 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 register a customer's request, we need to run a 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 -c server-config -d service_db --db-filter=^service_db$ --http-port=8070
This will run the Odoo server on port 8070
. Make sure that you have installed the service module in this database and have added the IAP service key. Note that this recipe is written...