depend_on_ids_one2many
The blocking tasks list on a shared project task. It exists because the portal view is not the backend view, and the standard list renderer assumes things the portal cannot offer.
| Technical name | depend_on_ids_one2many |
|---|---|
| Field types | one2many, many2many |
| Views | form, with an embedded list |
| Module | project, the Project app |
| Used in core | 1 occurrence, the shared task form in the project sharing portal |
| Versions | Odoo 20.0, Odoo 19.0, Odoo 18.0 |
| No-code setup | No. It belongs to the project sharing interface |
| Alternatives | one2many, many2many_tags, task_done_checkmark, list_activity |
What the task dependencies list does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
link | boolean | Forwarded to the embedded list. Core sets it to false so a portal user can see dependencies without opening them.(default: true) |
editable | string (list attribute) | Set on the embedded list. Moot in the core usage, where the field is read-only. |
The portal usage is deliberately restrictive. The core view marks the field read-only and switches off the link option, so dependencies are visible but not navigable. Both are view decisions rather than widget behavior, and both are worth keeping in a customization.
Working examples
Small on purpose, because the renderer carries it
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 | Verified against the shipped source. Unchanged in substance from Odoo 18. |
| Odoo 18.0 | Verified | First version. |
| Odoo 17.0 | Not available | Widget does not exist. |
| Odoo 16.0 | Not available | Widget does not exist. |
Upgrade note. Nothing to do. The widget arrived in Odoo 18 and is unchanged in substance in Odoo 19. What can change around it is the project sharing component set, so a customization of the portal renderer is more likely to need attention than this field.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| Dependencies are not clickable | The core view switches the link option off, deliberately, for portal users. Expected. Remove the option only if portal users should navigate into those tasks. |
| The list does not render in the backend | The renderer belongs to the project sharing component set. Use an ordinary relational widget in backend views. |
| The field cannot be edited | The core view marks it read-only. Expected for a portal audience; changing it exposes editing to shared users. |
| Options are ignored | The widget declares none; the descriptor forwards them to the embedded list. Use the list attributes and the link option instead. |
| Portal styling looks wrong | The portal renderer expects the project sharing assets. Use the widget only inside project sharing views. |
| Missing widget error | The project module is not installed in that database. Install Project. |
Task dependencies list vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
depend_on_ids_one2many | Showing task dependencies inside the project sharing portal | A child list that swaps in the portal's own renderer instead of the backend one |
| one2many | Backend child lists | The backend renderer, with full editing and navigation |
| many2many_tags | Dependencies shown compactly in the backend | Tags rather than a list |
| task_done_checkmark | Completion flags on project records | A boolean cell rather than a relation |
| list_activity | The next action on a task row | Activities rather than dependencies |
Frequently asked questions
What does depend_on_ids_one2many actually change?+
Why can portal users not click through to a blocking task?+
Can I use it in the backend?+
Does it support options?+
Which versions have it?+
Client visibility without giving away the controls
Shared project access replaces status emails, but only if it shows the right things and hides the rest. We configure Odoo project sharing and portal views on versions 16 through 19.
Book a free consultation