[IMP] product: added field category_id in search view

This commit is contained in:
rmu-odoo
2016-01-07 15:09:17 +01:00
committed by David Monjoie
parent 3941e41b9f
commit e19c7ebde2
+1
View File
@@ -35,6 +35,7 @@
<field name="arch" type="xml">
<search string="Product">
<field name="name" string="Product" filter_domain="['|',('default_code','ilike',self),('name','ilike',self)]"/>
<field name="categ_id" domain="[('categ_id', 'child_of', self)]"/>
<separator/>
<filter string="Services" name="services" domain="[('type','=','service')]"/>
<filter string="Products" name="consumable" domain="[('type', 'in', ['consu', 'product'])]" help="Products your store in the inventory"/>