Odoo Help

0

Filters query

By
Lerner
on 6/6/15, 1:39 AM 510 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>

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.

Register

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)

Stats

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