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

Once installed, how do you use addon web_filter_and_condition?

By
Gilles Lehoux
on 4/15/14, 1:17 AM 1,061 views

Once installed, how do you use addon web_filter_and_condition?

The description in the module is not clear to me. Could someone please elaborate? Add some more detailed steps?

https://www.openerp.com/apps/7.0/web_filter_and_condition/

Add 'filter_condition='and' in a filter inside a search view and your filters working on the same fields will work like an "and", not an "or".

0
Mathieu  Vatel
On 4/16/14, 12:53 PM

Hello,

This module will allow you to get filters in the search view which are done on the same field to be filtered with "and" condition instead of native "or" condition.

Example:

In the native search view of partners, you've got "Customers" and "Suppliers" filters. When you click on both you will get all the customers and all the suppliers displayed.

If you add """ filter_condition="and" """ in the filters like this (once this module installed):

<filter string="Customers" name="customer" domain="[('customer','=',1)]" help="Customer Partners" filter_condition="and"/>
<filter string="Suppliers" name="supplier" domain="[('supplier','=',1)]" help="Supplier Partners" filter_condition="and"/>

When you will click on both, you will have all partners which are both customer and supplier.

You can check out our module hr_recruitment_skills on apps which is making this automatically working it to check all applicants which got all skills needed for a job.

Tell me if that's not clear enough.

Best regards.

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: 4/15/14, 1:17 AM
Seen: 1061 times
Last updated: 3/16/15, 8:10 AM