The wizard model
A wizard displays a form view to the user, usually as a dialog window, with some fields to be filled in. These will then be used for the wizard logic.
This is implemented using the same model/view architecture as for regular views, but the supporting model is based on models.TransientModel instead of models.Model. This type of model also has a database representation and stores state there, but the data is expected to be useful only until the wizard completes its work. A scheduled job regularly cleans up the old data from wizard database tables.
The wizard/wizard/library_checkout_massmessage.py file will define the fields we need to interact with the user: the list of checkouts to be notified, the message subject, and the ...
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.
Read now
Unlock full access