Odoo Help


Customized Filters query in Odoo 'Sales -> Product module'

on 6/3/15, 3:29 AM 521 views

I have created two fields in the Odoo 'Sales -> Product module' they are 'Family' & 'SupFamily' columns I need to search the product bases on those values in the columns in the search bar on the top right of the Odoo in my local mechine.

and my configurations are given below..

how to make my customized field as the searchable field as the 'Name' field in the Odoo 'Sales -> Product module'. 

And how to reset the Odoo modules to default settings.

(‘x_RDFamily′,’=’,'A') -> Direct Filter on the form


(‘x_RDFamily′,’=’,'A') -> Indirect Filter through the configuration


<field name="x_RDFamily" domain =[(‘x_RDFamily′,’=’,'A'),(‘x_RDFamily′,’=’,'B')]/>


<field name="x_RDFamily" string="Family" filter_domain="['|',('default_code','ilike',self),('x_RDFamily','ilike',self)]"/>


<field name="x_RDFamily" string="Family" filter_domain="[('Family','ilike',self)]"/>


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

1 follower(s)


Asked: 6/3/15, 3:29 AM
Seen: 521 times
Last updated: 6/3/15, 5:30 AM