i want to apply filter to a Listview of a doctype with a client script. I tried many approaches, but had no success. I thought this would be simple with a few lines of code, but I’m going trough hell with this task.
@NCP , how to set filter for the below… I am searching …but couldn’t find any refrence.
my condition is status not completed or status is Draft… How to give OR here…
How do you mean exactly? In list view, you can see the filters as displayed in the image above. If you mean setting the filter with the client script, implementing it via the doctype “client script” would be your way to go.
Dear @mrPauwHaan , @NCP ,
Thanks for your reply. My use case is, For example take Stock Entry doctype. In list of that doctype I want to filter as follows.
suppose the user is store keeper for WH-A.
So, in his list view he should only see the transaction which is having from_warehouse is WH-A or to_warehouse is WH-A.
This is my question…