Hierarchical Tree View - Parent Child Tree, Many2one Tree Selector
by Modvanta https://modvantaapps.tech/$ 11.97

Hierarchical Tree View for Odoo 19
See product categories, stock locations, departments, managers and their teams, tags or account groups as a real tree. Open branches one level at a time, search without losing the path, move records by drag and drop, and pick a parent or category from a tree instead of a flat list.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
A tree view and a tree selector for every parent / child model.
Hierarchy Tree view A new view type next to list and kanban, for any model with a parent field (parent_id, location_id...). | Lazy branches Each branch loads when you open it, 80 records at a time with Load more, so large trees stay fast. | Counts and columns Children count on every row, plus any columns you choose (manager, company, # products...). |
Search keeps the path Search and filters show the matching records with all their parents, so you see where they are. | Drag and drop Optional: drag a row onto another to move it there. It needs write access and refuses loops. | Add a child The + on a row opens a new record with the parent already filled in. |
Many2one tree selector A tree button on fields such as Product Category or Parent Location opens the tree, already open on the current value. | Any model in one click Pick a model, its parent field and the columns, press Apply: the view is added to its menus. | Ready to use Set up on install for product categories, stock locations, departments, employees, contact tags, account groups and analytic plans (when those apps are installed). |
Who it is for
- Inventory teams with many warehouses and nested locations.
- Catalogue managers with deep product category trees.
- HR teams looking at departments and who reports to whom.
- Accountants with account groups and analytic plans, and developers with their own parent / child models.
Key features
Every screen below is a real screenshot of the module on Odoo 19.
Categories as a tree with the number of products, Expand all and Collapse all.

Searching Office shows the match under its parent Furniture, greyed parents included.

Warehouses, locations and sub-locations with company and type.

Departments and sub-departments with manager and number of employees.

Employees under their manager, with department and job title.

Move a contact tag under another one by dragging it; a drop zone makes it top level again.

The + on a row opens a new record with the parent filled in.

Choose a product category from the tree, opened on the current value, with search.

Every model with a tree, its parent field, columns, tree view, tree selector and drag and drop.

Parent field, extra columns, levels open on load, records per branch, menus, tree selector.

How it works
| 1 | Install the module. Models that are already installed get their tree view and tree selector right away. |
| 2 | Open a menu such as Inventory > Configuration > Product Categories and press the tree icon in the view switcher. |
| 3 | Open branches with the arrows, search as usual, press + to add a child, or click a name to open the record. |
| 4 | For another model, open Settings > General Settings > Hierarchy Tree Views, create a setup, pick the parent field and columns, and press Apply. |
Settings
| Model and parent field | Any model with a many2one to itself (the field list only offers those). |
| Extra columns | Any fields to show next to the name. |
| Open levels on load | 0 to 5 levels opened when the view opens (default 1). |
| Records per branch | 10 to 500 per page, then Load more (default 80). |
| Tree view in menus | Adds the view to all or chosen menus of the model, right after the list view. |
| Tree selector on fields | Adds the tree button to every many2one that points to the model. |
| Drag and drop | Off by default. |
FAQ
Compatibility
Every hierarchy as a tree
Questions before you buy? Write to us - we answer every email.
EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Tree view, tree selector, setup |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1304 |
| Technical Name |
mdv_hierarchy_tree_view |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module