Commit graph

5 commits

Author SHA1 Message Date
Marc Durepos
9739dbdd41 recursive_tree_view: make parent field active in views where it isn't if they're recursive 2024-10-30 15:01:42 -04:00
Marc Durepos
da802131e8 recursive_tree_view: fix header levels in index.html 2024-10-30 14:49:50 -04:00
Marc Durepos
700e2b2ffb recursive_tree_view: rename main_screenshot.png 2024-10-30 14:43:45 -04:00
Marc Durepos
250009514e recursive_tree_view: moved description under static 2024-10-30 14:41:11 -04:00
Marc Durepos
6bab956a54 [ADD] recursive_tree_view: new module for hierarchical models
Allows the viewing of hierarchical models (i.e. parent-child
relationships) directly in a tree view. Simply add the recursive
attribute to the tree tag with `recursive="1"` or `recursive="true"` or
`recursive="True"`.

Parent-child field is autodetected from the model based on the
_parent_name field which is standard in the Odoo ORM.

Currently there is no option for expanding all children, but this may be
added in future versions.
2024-10-30 12:11:55 -04:00