forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product_view.xml
26 lines (23 loc) · 968 Bytes
/
product_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<openerp>
<data>
<record id="product_template_search_view" model="ir.ui.view">
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_search_view"/>
<field name="arch" type="xml">
<field name="name" position="attributes">
<attribute name="filter_domain">['|', '|', ('default_code','ilike',self),('name','ilike',self), ('ean13','ilike',self)]</attribute>
</field>
</field>
</record>
<record id="product_search_form_view" model="ir.ui.view">
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_search_form_view"/>
<field name="arch" type="xml">
<field name="name" position="attributes">
<attribute name="filter_domain">['|', '|', ('default_code','ilike',self),('name','ilike',self), ('ean13','ilike',self)]</attribute>
</field>
</field>
</record>
</data>
</openerp>