Skip to content

Custom Tree Structure In ListView or KanbanView In Odoo ,eg: Product category tree ,Department tree

License

Notifications You must be signed in to change notification settings

liuqwert/odtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odtree

Custom Tree Structure In ListView or KanbanView ,eg: Product category tree ,Department tree

product kanview(listView) in the category tree

empoyee kanview(listView) in th department tree

usage

treelist view:

            <xpath expr="//tree" position="attributes">
                <attribute name="categ_property">categ_id</attribute>
                <attribute name="categ_model">product.category</attribute>
                <attribute name="categ_parent_key">parent_id</attribute>
            </xpath>

kanban view:

            <xpath expr="//kanban" position="attributes">
                <attribute name="categ_property">categ_id</attribute>
                <attribute name="categ_model">product.category</attribute>
                <attribute name="categ_parent_key">parent_id</attribute>
            </xpath>

thanks for the opensource libs used in this module: https://github.com/zTree/zTree_v3 https://github.com/jquery/jquery https://github.com/odoo/odoo

About

Custom Tree Structure In ListView or KanbanView In Odoo ,eg: Product category tree ,Department tree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages