Odoo Help

Welcome!

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.

0

Filters query

By
Lerner
on 6/6/15, 1:39 AM 328 views


In Products module I added a new column named 'Family Column' I need to add filter function as we search product by name as like that I need to search the product by its family too, I use come configurations but not working, can any one suggest perfect procedure to do the customized filter in Odoo. My configurations are given below in Sales->Product module in Odoo

Field Configurations:-

Field Name= x_RDFamily ;        Label Name= Family;           Type= char;           Model= Product Template

Search Configurations:-

<filter string="family" domain="[('x_RDFamily','in',('open','draft'))]" help="Draft, Open and Pending Tasks" icon="terp-project"/>

<field name="x_RDFamily" select="1" widget="selection">

<filter domain="[('product.template.x_RDFamily','=',uid)]" help="My Projects" icon="terp-project"/>

</field>

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

1 follower(s)

Stats

Asked: 6/6/15, 1:39 AM
Seen: 328 times
Last updated: 6/6/15, 4:40 AM