Odoo Help


9 Answers

Guewen Baconnier Switzerland

--Guewen Baconnier--

| 8 7 10
Lausanne, Switzerland
--Guewen Baconnier--

Guewen works at Camptocamp as an Odoo developer since 2010. He is the lead developer of the Odoo Connector framework and the Magento Connector. He is a delegate member of the OCA, a committer and an active contributor to the OCA projects.


Guewen Baconnier Switzerland
2/12/13, 3:46 PM

Applying an OR or an AND operator in your filter is done in 2 different ways:

  1. Open the Advanced Search panel, select a criteria, then click on 'Add a condition' to add a second one (do not hit enter or close the filters window), then click on 'Apply'. An OR operator will be applied between those 2 filters.
  2. Open the Advanced Search panel, select a criteria, click on 'Apply'. Open the Advanced Search panel again, select another criteria, click on 'Apply'. An AND operator will be applied between those 2 filters.

In OpenERP 7, the OR operator is part of the same ticker while the AND operator creates 2 separate tickers. The screenshot below shows the difference: the list displays the opportunities that are from the country Canada or China on the one hand, and that have an expected closing date greater than 12/09/2012 on the other hand.

image description

Camptocamp SA, Guewen Baconnier Switzerland
2/13/13, 2:18 AM

Fabrice: thanks for your edit.

Mario Arias Badila Costa Rica
7/19/13, 6:25 PM

Is this the only way? What if I want to look for a customer that has two different tags at the same time? It is easy to type the tag and select "search tag for XXXX", but when adding the second one OpenERP uses an "OR". Doing it with advanced search is totally cumbersome...

Andreas Maertens Germany
8/29/13, 11:09 AM

Thanks but that behavior is weired. Could be much easier if standard search operator was 'and'.

wizardz Switzerland
6/8/16, 2:54 AM

Is there a way to make a second searchbar under the first one that search only for attributs?

Ask a Question
Keep Informed
0 follower(s)
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