liu 1e2483ba30 first commit | pirms 4 gadiem | |
---|---|---|
README.md | pirms 4 gadiem |
Custom Tree Structure In ListView or KanbanView ,eg: Product category tree ,Department tree
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