mdwala
6
Hi @akashpvtltd
I also tried your code but didn’t work, even path was correct.
I solved it by using this:
frappe.listview_settings['Sales Invoice'] = {
onload: function(listview) {
if (!frappe.route_options){
frappe.route_options = {
"City": ["=", "city1"]
};
}
}};
Although I am trying to get how get filter from other Logged User Doctype’s field.
Here is a link: