Hierarchical Tree View
by Dusal Solutions https://apps.odoo.com/apps/modules/browse?author=Dusal%20Solutions
Odoo
$ 27.22
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 411 |
Technical Name |
dusal_hierarchical_tree |
License | See License tab |
Website | https://apps.odoo.com/apps/modules/browse?author=Dusal%20Solutions |
Versions | 14.0 15.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 411 |
Technical Name |
dusal_hierarchical_tree |
License | See License tab |
Website | https://apps.odoo.com/apps/modules/browse?author=Dusal%20Solutions |
Versions | 14.0 15.0 |
Hierarchical tree view
Developed with Odoo's new frontend framework.
Screenshot:

Usage:
By default this module enable a new hierarchical tree view on product categories. You could use in other tree views also. For that create a new hierarchical_tree view with <hierarchical_tree> tag and replace an action window xml code like below:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="product_category_view_hierarchical_tree_view" model="ir.ui.view">
<field name="name">Product Categories</field>
<field name="model">product.category</field>
<field name="arch" type="xml">
<hierarchical_tree count_field="product_count"></hierarchical_tree>
</field>
</record>
<record id='product.product_category_action_form' model='ir.actions.act_window'>
<field name="name">Product Categories</field>
<field name="res_model">product.category</field>
<field name="view_mode">tree,hierarchical_tree,form</field>
</record>
</odoo>
<odoo>
<record id="product_category_view_hierarchical_tree_view" model="ir.ui.view">
<field name="name">Product Categories</field>
<field name="model">product.category</field>
<field name="arch" type="xml">
<hierarchical_tree count_field="product_count"></hierarchical_tree>
</field>
</record>
<record id='product.product_category_action_form' model='ir.actions.act_window'>
<field name="name">Product Categories</field>
<field name="res_model">product.category</field>
<field name="view_mode">tree,hierarchical_tree,form</field>
</record>
</odoo>
Please click here and check out our other modules.
If you have any questions then you can contact us via following email. Support email: almas@dusal.net
Hierarchical tree view
Hierarchical tree view to any parent, child, children items like product categories.
Odoo 14 Requirements
This addon is made for Odoo version 14 but doesn't work well on very old Odoo 14 repository (before February 10).
The OWL library inside your project should be >= 1.2.4, you can check that by opening the browser console and typing:
owl.__info__
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