You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liu 361ec83a94 复制来 4 years ago
odtree 复制来 4 years ago
odtree_hr 复制来 4 years ago
odtree_product 复制来 4 years ago
LICENSE 复制来 4 years ago
README.md first commit 4 years ago

README.md

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

上海开阖软件有限公司 沪ICP备12045867号-1