Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="view_custom_product_search_form" model="ir.ui.view">
- <field name="name">product.search.form</field>
- <field name="model">product.product</field>
- <field name="inherit_id" ref="product.product_search_form_view"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='name']" position="after">
- <field name="family" string="Family" filter_domain="[('family','ilike',self)]"/>
- </xpath>
- </field>
- </record>
- </data>
- </openerp>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement