Hi @sathya_raj,
Please check the field name and set it into the script. Provide lots of references, just you have to set the field name.
Please check it.
frappe.listview_settings['Lead'] = {
onload: function(listview) {
frappe.route_options = {
lead_owner: "[email protected]",
_assign: ["like", "%[email protected]%"]
};
listview.refresh();
}
};
Easily Solution without a script.