From 2f6b55e7bd789ee162d51cc8cf47b1643240b233 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 13 Nov 2023 13:36:56 +0530 Subject: [PATCH] fix: made industry readonly & removed job title from organization --- crm/fcrm/doctype/crm_lead/crm_lead.json | 8 +++--- .../crm_organization/crm_organization.json | 8 +----- frontend/src/pages/Lead.vue | 26 +++++++++---------- 3 files changed, 16 insertions(+), 26 deletions(-) diff --git a/crm/fcrm/doctype/crm_lead/crm_lead.json b/crm/fcrm/doctype/crm_lead/crm_lead.json index 269a0e79..3aaa2ad6 100644 --- a/crm/fcrm/doctype/crm_lead/crm_lead.json +++ b/crm/fcrm/doctype/crm_lead/crm_lead.json @@ -20,6 +20,7 @@ "column_break_lcuv", "lead_owner", "status", + "job_title", "source", "converted", "organization_tab", @@ -28,7 +29,6 @@ "no_of_employees", "column_break_dbsv", "website", - "job_title", "annual_revenue", "industry", "contact_tab", @@ -185,11 +185,9 @@ "search_index": 1 }, { - "fetch_from": "organization.job_title", "fieldname": "job_title", "fieldtype": "Data", - "label": "Job Title", - "read_only": 1 + "label": "Job Title" }, { "fieldname": "organization_tab", @@ -219,7 +217,7 @@ "image_field": "image", "index_web_pages_for_search": 1, "links": [], - "modified": "2023-11-09 12:44:18.770076", + "modified": "2023-11-13 13:35:35.783003", "modified_by": "Administrator", "module": "FCRM", "name": "CRM Lead", diff --git a/crm/fcrm/doctype/crm_organization/crm_organization.json b/crm/fcrm/doctype/crm_organization/crm_organization.json index eee05919..f048fc34 100644 --- a/crm/fcrm/doctype/crm_organization/crm_organization.json +++ b/crm/fcrm/doctype/crm_organization/crm_organization.json @@ -11,7 +11,6 @@ "organization_logo", "column_break_pnpp", "website", - "job_title", "annual_revenue", "industry" ], @@ -43,11 +42,6 @@ "fieldname": "column_break_pnpp", "fieldtype": "Column Break" }, - { - "fieldname": "job_title", - "fieldtype": "Data", - "label": "Job Title" - }, { "fieldname": "annual_revenue", "fieldtype": "Currency", @@ -63,7 +57,7 @@ "image_field": "organization_logo", "index_web_pages_for_search": 1, "links": [], - "modified": "2023-11-06 15:28:26.610882", + "modified": "2023-11-13 13:32:39.029742", "modified_by": "Administrator", "module": "FCRM", "name": "CRM Organization", diff --git a/frontend/src/pages/Lead.vue b/frontend/src/pages/Lead.vue index 3fc32b1b..06fe0e0e 100644 --- a/frontend/src/pages/Lead.vue +++ b/frontend/src/pages/Lead.vue @@ -206,7 +206,10 @@ :placeholder="field.placeholder" class="form-control" > -