October 2019
Beginner to intermediate
504 pages
12h 57m
English
As you saw in our previous example, Odoo will always use an or operation between each of the conditions you add to the search. But what if we wanted to have a search where the record is Active and the Sale Price is greater than or equal to 100? To accomplish this, you must first apply the custom filter with only the Active condition defined. That will limit the results to only active products. Then, you can go back and add a second custom filter that only contains the Sale Price is greater than or equal to 100 condition.
Just remember that if you want both conditions to be true, they must be applied separately. If you want either of the conditions to be true, then add them together in one search:
In ...
Read now
Unlock full access