This module allows to use a new widget for many2one fields that are made hierarchically. Now, you can navigate easily between the hierarchy.
When we are using readonly, the behaviour is similar than Many2one, but on edition we are able to select the parents and childs in order to navigate properly.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Adds a new field widget for hierarchical many2one fields, letting users pick a record by browsing its parents and direct children instead of searching the whole list.
This module adds a new widget option for many2one fields that represent hierarchical data (records linked to a parent record). When a form uses this widget, the field behaves like a normal many2one when read-only, but in edit mode it shows a different selection control.
- In edit mode, the field displays the current record's parent chain as clickable links separated by slashes, plus a list of the record's direct children as radio buttons.
- Clicking a parent link or a child radio button immediately sets the field to that record.
- A small cross icon lets the user clear the selected value.
- The list of children can be filtered by a domain, and the text shown for each record can be controlled with a field option.
On the server side, the module extends the base model with helper methods that walk up the parent chain and search for direct children, returning their ids and display names. These helpers are called by the widget through an RPC request.
The widget is registered in the web client's field registry under the name child_selector, so it can be assigned to any many2one field whose model has a parent relationship. The module depends only on the web module and adds no new menus or database tables.
Depends on
Models and fields (1)
- base · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/web.
terminal Installation and usage
OCA documentation · Odoo 15.0Usage
Source · Odoo 15.0Use child_selector widget on a field. If necessary we can use child_selection_field on options in order to define which field we will show on edition only. For example, name instead of display_name.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.