Odoo Help


This community 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.


How to Make a custom field Searchable ?

on 7/7/15, 2:45 AM 504 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


| 5 2 5
kerala, India

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 3 6
Gandhinagar, 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


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