Odoo Help


How to Make a custom field Searchable ?

on 7/7/15, 2:45 AM 745 views

In Sales->Product  module I need to make one field as the custom searchable.

where to edit & need any tags or configurations to do?

Hi Dep how to use the given configuration and where to use those tags to make the custom field serchable 

How should I inherit the product search view and add the custom filed which I want? 

How to inherit the product search view and add the custom filed which we want ?

on 7/8/15, 2:00 AM


--Odoo --
| 5 2 5
--Odoo --

Working as a Odoo Functional and Technical Expert

On 7/7/15, 4:57 AM

<record id="product_template_search_custom_view" model="ir.ui.view">
            <field name="name">product.template.customsearch</field>
            <field name="model">product.template</field>
             <field name="inherit_id" ref="product.product_template_search_view"/>
             <field name="arch" type="xml">
              <xpath expr="/search/field[@name='name']" position="before">
               <field name="ean13" string="EAN 13 Baarcode" domain="[('sale_ok','=',1)]"/>
                  <field name="attribute_ield"/> #how to add that search


Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
| 5 4 6
Rajkot, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 7/7/15, 3:40 AM

Hello Sudarsan,

I think you should inherit the product search view and add the custom filed which you want.


You can go to search view > Advanced Search > select the field > give the value and press the Apply button.

Hope this helpful for you

Thanks & Regards

Ankit H Gandhi

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 7/7/15, 2:45 AM
Seen: 745 times
Last updated: 7/23/15, 4:53 AM