From 68369f3d45cc22e922e25509d9bf4515f57a7130 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 24 Aug 2023 17:12:14 +0530 Subject: [PATCH] fix: added deal_status and is_deal field in CRM Lead doctype to use it as a Deal --- crm/crm/doctype/crm_lead/crm_lead.json | 28 +++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/crm/crm/doctype/crm_lead/crm_lead.json b/crm/crm/doctype/crm_lead/crm_lead.json index 16470871..15130aa6 100644 --- a/crm/crm/doctype/crm_lead/crm_lead.json +++ b/crm/crm/doctype/crm_lead/crm_lead.json @@ -17,9 +17,11 @@ "lead_name", "gender", "image", + "is_deal", "column_break_lcuv", "lead_owner", "status", + "deal_status", "source", "section_break_ymew", "email", @@ -79,11 +81,12 @@ "fieldtype": "Column Break" }, { + "default": "Open", "fieldname": "status", "fieldtype": "Select", "in_list_view": 1, - "label": "Status", - "options": "New\nContact made\nProposal made\nNegotiation\nConverted", + "label": "Lead Status", + "options": "Open\nContacted\nNurture\nQualified\nUnqualified\nJunk", "reqd": 1, "search_index": 1 }, @@ -181,12 +184,31 @@ "fieldtype": "Data", "label": "Full Name", "search_index": 1 + }, + { + "default": "Qualification", + "fieldname": "deal_status", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Deal Status", + "options": "Qualification\nDemo/Making\nProposal/Quotation\nNegotiation\nReady to Close\nWon\nLost", + "reqd": 1, + "search_index": 1 + }, + { + "default": "0", + "fieldname": "is_deal", + "fieldtype": "Check", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Is Deal", + "search_index": 1 } ], "image_field": "image", "index_web_pages_for_search": 1, "links": [], - "modified": "2023-07-25 18:18:23.429029", + "modified": "2023-08-24 15:32:21.577653", "modified_by": "Administrator", "module": "CRM", "name": "CRM Lead",