Skip to Main Content
Odoo 12 Development Cookbook - Third Edition
book

Odoo 12 Development Cookbook - Third Edition

by Parth Gajjar, Alexandre Fayolle, Holger Brunn, Daniel Reis
April 2019
Beginner to intermediate content levelBeginner to intermediate
774 pages
24h 59m
English
Packt Publishing
Content preview from Odoo 12 Development Cookbook - Third Edition

How to do it...

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:

  1. Create a new iap_isbn_client module and add __init__.py:
from . import models
  1. 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'], ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Odoo 11 Development Cookbook - Second Edition - Second Edition

Odoo 11 Development Cookbook - Second Edition - Second Edition

Alexandre Fayolle, Holger Brunn
Odoo 14 Development Cookbook - Fourth Edition

Odoo 14 Development Cookbook - Fourth Edition

Parth Gajjar, Alexandre Fayolle, Holger Brunn, Daniel Reis

Publisher Resources

ISBN: 9781789618921Supplemental Content