[FIX]product: added a serch view in product category to hidden right,left parent field
lp bug: https://launchpad.net/bugs/918644 fixed bzr revid: mma@tinyerp.com-20120123070425-6s2f8nmwfbmjcpjr
This commit is contained in:
parent
8ffb0a310f
commit
10dd2cba06
|
@ -291,13 +291,23 @@
|
|||
<field name="help">Products can be purchased and/or sold. They can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
|
||||
</record>
|
||||
|
||||
<record id="product_category_search_view" model="ir.ui.view">
|
||||
<field name="name">product.category.search</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Product Categories">
|
||||
<field name="name"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
<record id="product_category_form_view" model="ir.ui.view">
|
||||
<field name="name">product.category.form</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Product Categories">
|
||||
<field name="name" select="1"/>
|
||||
<field name="name"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="sequence" invisible="1"/>
|
||||
<field name="type"/>
|
||||
|
@ -347,6 +357,7 @@
|
|||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">product.category</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="search_view_id" ref="product_category_search_view"/>
|
||||
<field name="view_id" ref="product_category_list_view"/>
|
||||
</record>
|
||||
<menuitem action="product_category_action_form"
|
||||
|
|
Loading…
Reference in New Issue