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 -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 DB and have added the IAP service key. Note that this recipe is written assuming that you have an IAP service running on the http://localhost:8070 URL.

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

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