Learning project – the Library self-service

In this chapter, we will add self-service features for the Library members. Members can be assigned a login and access to their list of checkout requests. With this, we will be able to cover the essential techniques for website development: creating dynamic pages, passing parameters between pages, creating forms, and handling form data validation.

For these new library website features, we will create a new add-on module, library_website.

As usual, we will start by creating the add-on's manifest file. Create the library_website/__manifest__.py file with the following code:

{ 'name': 'Library Website', 'description': 'Create and check book checkout requests.', 'author': 'Daniel Reis', 'depends': ...

Get Odoo 12 Development Essentials - Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.