| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 299 |
| Technical Name |
recursive_tree_view |
| License | LGPL-3 |
| Website | http://www.bemade.org |
| Versions | 17.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 299 |
| Technical Name |
recursive_tree_view |
| License | LGPL-3 |
| Website | http://www.bemade.org |
| Versions | 17.0 |
Recursive Tree View
Author: Bemade Inc. (Marc Durepos)
Website: www.bemade.org
License: GNU Lesser General Public License (LGPL-3)
Overview
The Recursive Tree View module for Odoo allows users to easily visualize hierarchical data structures in tree views. Mark a tree view as recursive to enable expansion of descendants of a parent record, enhancing the visualization of complex data.
Screenshots
Collapsed Tree
Expanded Tree
Features
- Expand and collapse descendants directly in tree views.
- Mark specific tree views as recursive to represent hierarchical data.
- Improve navigation and understanding of complex relationships.
Configuration
- Install the module in Odoo.
- Configure the desired tree views to be recursive by modifying the view definition. Simply add the attribute recursive="1" to a given tree element to make it recursive.
Usage
- Navigate to the view marked as recursive.
- Click the arrow to the left of a parent record to expand it and see its descendants.
- Use expand/collapse to navigate the hierarchy as desired .
Technical
- The module extends the `tree` view type to add recursive behavior, allowing descendants to be dynamically loaded and displayed.
- This feature is particularly useful for models that represent hierarchical relationships, such as categories, organizational units, or nested tasks.
- The module uses the field specified by `_parent_name` on the model, which is `parent_id` by default.
License
This program is under the terms of the GNU Lesser General Public License (LGPL-3). For details, visit https://www.gnu.org/licenses/lgpl-3.0.en.html.
Please log in to comment on this module
This module didn't show Child MO's in the mrp.production module.
It works on some screens (e.g. Product Categories), but even in this case, it only searches among the records visible on the screen. It doesn't search in descendants.
I have used your module, but when I tried it on the Project module, specifically the project.task model, it didn't display as expected. There's a blank space at the top of the list view, but no dropdown appears.
There are no comments yet!