Creating a wizard
Suppose our To-Do app users regularly need to set the deadlines and person responsible for a large number of tasks. They could use an assistant to help with this. It should allow them to pick the tasks to be updated and then choose the deadline date and/or the responsible user to set on them.
Wizards are forms used to get input information from users, then use it for further processing. They can be used for simple tasks, such as asking for a few parameters and running a report, or for complex data manipulations, such as the use case described earlier.
This is how our wizard will look:
We can start by creating a new addon module for the todo_wizard
feature.
Our module will have a Python file and an XML file, so the todo_wizard/__manifest__.py
description will be as shown in the following code:
{ 'name': 'To-do Tasks Management Assistant', 'description': 'Mass edit your To-Do backlog.', 'author': 'Daniel Reis', 'depends': ['todo_user'], ...