We will create a new iap_isbn_client module. This module will inherit the my_library module and add a button in the book's form view. Clicking on a button will send a request to our IAP service running on the 8090 port. The IAP service will capture the credit and return the information of the requested book. We will write this information in the book's record. Follow these steps to complete the IAP client module:
- Create a new iap_isbn_client module and add __init__.py:
from . import models
- Add __manifest__.py, with the given content:
{ 'name': "Books ISBN", 'summary': "Get Books Data based on ISBN", 'website': "http://www.example.com", 'category': 'Uncategorized', 'version': '12.0.1', 'depends': ['iap', 'my_library'], ...