This commit is contained in:
ivan deng
2018-09-29 02:36:35 +08:00
parent 0ccc48246f
commit 002d35c831

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<odoo>
<record id="product_template_tree_view_withcateg" model="ir.ui.view">
<record id="product_template_tree_view_ztree" model="ir.ui.view">
<field name="name">product.template.product.tree</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_tree_view" />
@@ -10,12 +10,12 @@
<attribute name="ztree_field">categ_id</attribute>
<attribute name="ztree_model">product.category</attribute>
<attribute name="ztree_parent_key">parent_id</attribute>
<attribute name="ztree_position">right</attribute>
<attribute name="ztree_position">left</attribute>
</xpath>
</field>
</record>
<record id="product_template_kanban_view_withcateg" model="ir.ui.view">
<record id="product_template_kanban_view_ztree" model="ir.ui.view">
<field name="name">Product.template.product.kanban</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_kanban_view" />
@@ -24,6 +24,7 @@
<attribute name="ztree_field">categ_id</attribute>
<attribute name="ztree_model">product.category</attribute>
<attribute name="ztree_parent_key">parent_id</attribute>
<attribute name="ztree_position">right</attribute>
</xpath>
</field>
</record>