fix: lead status filter (#41816)
(cherry picked from commit 8ae2b8ff8c)
Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
frappe.listview_settings["Lead"] = {
|
||||
get_indicator: function (doc) {
|
||||
var indicator = [__(doc.status), frappe.utils.guess_colour(doc.status), "status,=," + doc.status];
|
||||
return indicator;
|
||||
},
|
||||
onload: function (listview) {
|
||||
if (frappe.boot.user.can_create.includes("Prospect")) {
|
||||
listview.page.add_action_item(__("Create Prospect"), function () {
|
||||
|
||||
Reference in New Issue
Block a user