notebook_task_one2many
A task list rendered inside a notebook tab, with its own renderer and one adjustment: a kanban card opens the task rather than a dialog.
| Technical name | notebook_task_one2many |
|---|---|
| Field types | one2many |
| Views | form, with an embedded list or kanban |
| Module | project, the Project app |
| Used in core | 1 occurrence, a task list inside a notebook tab in project |
| Versions | Odoo 20.0, Odoo 19.0 |
| No-code setup | No. It is a project-specific list widget |
| Alternatives | subtasks_one2many, one2many, subtask_kanban_list, many2many |
What the notebook task list does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
mode | string (field attribute) | Which subviews are available. In kanban mode the widget routes card opening through the form switch; in list mode it does not.(since Odoo 19.0) |
context | string (field attribute) | Passed through unfiltered when a task is opened, unlike the sub-tasks widget which strips it down.(since Odoo 19.0) |
editable | string (list attribute) | Set on the embedded list. Governs inline editing of the rows. |
It does not filter the context. That is the one substantive difference from the sub-tasks widget, which strips everything except default keys and two flags. Here the parent's context reaches the opened task intact, so anything set on the parent screen applies.
Working examples
The difference from its sibling is what is missing
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Byte-identical to Odoo 19 on the development branch. |
| Odoo 19.0 | Verified | First version. Verified against the shipped source. |
| Odoo 18.0 | Not available | Widget does not exist. The tab used a plain child list. |
| Odoo 17.0 | Not available | Widget does not exist. |
| Odoo 16.0 | Not available | Widget does not exist. |
Upgrade note. The widget is new in Odoo 19. On Odoo 18 and earlier the same tab used a plain child list, so an upgrade changes how the tab renders with the standard project views and nothing needs migrating.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| A kanban card opens a dialog | The embedded view is not a kanban, or the renderer properties were overridden. Check the mode attribute and any customization of the renderer. |
| An opened task inherits an unexpected value | The context passes through unfiltered. Narrow the field's context, or use the sub-tasks widget where filtering is wanted. |
| The list looks like a normal embedded list | The notebook renderer is what differs, and it may be overridden. Check for a customization replacing the renderer. |
| Options are ignored | The widget declares none and the descriptor forwards them to the embedded view. Use the list attributes instead. |
| Rows cannot be edited inline | The embedded list is not declared as editable. Set the editable attribute on the list. |
| Missing widget error | The project module is not installed in that database. Install Project, or use a plain child list. |
Notebook task list vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
notebook_task_one2many | A related task list rendered inside a notebook tab | Notebook-specific renderer, and kanban cards navigate rather than opening a dialog |
| subtasks_one2many | True sub-tasks of the current record | Filters the parent's context before opening a record |
| one2many | Any ordinary child list | The standard renderer and the standard opening behavior |
subtask_kanban_list | Sub-tasks inline on a kanban card | A view widget on the card rather than a field on a form |
| many2many | Linking existing tasks | Links rather than owned children |
Frequently asked questions
How does it differ from the sub-tasks widget?+
Why does a kanban card navigate instead of opening a dialog?+
Does it support options?+
Can I use it outside a notebook?+
Which versions have it?+
Project forms that lead somewhere useful
Related records on a form are navigation, and the wrong click behavior turns them into friction. We tune Odoo Project forms and the flows between them, on versions 16 through 19.
Book a free consultation