I’m trying to filter records in a List View (and similarly in Reports), but I can’t find a way to apply OR conditions between filters.
For example, I want to retrieve records where:
However, when I add both filters, Frappe combines them using AND , resulting in:
Assigned To LIKE ‘%sachin@example%’
AND
Assigned To IS Not Set
Since both conditions cannot be true at the same time, the query returns no records.
My questions:
Is there any built-in way to apply OR conditions in List View filters?
Is it possible in Query Reports or Report Builder without writing custom code?
Has anyone implemented this using custom scripts or another approach?
Is there a recommended workaround for this limitation?
I’m using Frappe v16 / ERPNext v16 .
Any suggestions or workarounds would be appreciated.
1 Like
Hi @spathakvincular.in
Its a very interesting question. You would think something so simple would exist in a framework which prides itself on its no-code functionality for end users. I guess here is where the low-code part kicks in.
If its the same field like “Assigned To” then use IN operator
Assigned To IN (‘%sachin@example%’, Not Set (or maybe NULL)
I tried the IN operator for other fields like status and it works but for Assigned To it does not work
But if its a different field I could not find a non-code way of doing it
I encourage you to raise a github feature at Issues · frappe/frappe · GitHub
Maybe they have already brain-stormed it and decided against it (cost-benefit analysis)
avc
July 20, 2026, 10:04am
4
Hi:
Feature request here …
opened 10:06AM - 01 Sep 24 UTC
user-interface
feature-request
Users needs sometimes deeper filtering mechanism ... Currently, `or_filters` are… not supported from listview/report/ ... despite backend manage it.
It would be powerful.

Related to https://github.com/frappe/frappe/issues/27592
Actually, backend manage or_filters but no UI option for now.
But … maybe there is something in the oven
develop ← karm1000:feat/advanced-filters
opened 11:39AM - 29 Jun 26 UTC
<img width="555" height="198" alt="image" src="https://github.com/user-attachmen… ts/assets/e604e64a-fa9c-4d4e-b544-0a856b755698" />
<img width="865" height="610" alt="image" src="https://github.com/user-attachments/assets/0d6413d2-999d-4bb1-a244-c69ed40dacf1" />
1 Like