<?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>