Filter in Listview

Hi @Viktor_Kuhn,

Please apply the listview client script for that.

frappe.listview_settings['Sales Order'] = {
	onload: function(listview) {
		frappe.route_options = {
			"status": ["!=", "Completed"]
		};
	}
};

Here I applied the filter using the listview client script for Sales Orders and only showed the non-completed orders when you reload the sales order.

Output:

I hope this helps.

Thank You!

1 Like