From a912e5ddae292331218a55465ec0c9858f113dec Mon Sep 17 00:00:00 2001 From: Debin Robert <69695920+debinnn@users.noreply.github.com> Date: Mon, 19 May 2025 15:02:00 +0530 Subject: [PATCH] fix: wrong source fieldname in lead details report --- erpnext/crm/report/lead_details/lead_details.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/crm/report/lead_details/lead_details.py b/erpnext/crm/report/lead_details/lead_details.py index 608be6ec912..f100c25bdd2 100644 --- a/erpnext/crm/report/lead_details/lead_details.py +++ b/erpnext/crm/report/lead_details/lead_details.py @@ -37,7 +37,7 @@ def get_columns(): "options": "Territory", "width": 100, }, - {"label": _("Source"), "fieldname": "source", "fieldtype": "Data", "width": 120}, + {"label": _("Source"), "fieldname": "utm_source", "fieldtype": "Data", "width": 120}, {"label": _("Email"), "fieldname": "email_id", "fieldtype": "Data", "width": 120}, {"label": _("Mobile"), "fieldname": "mobile_no", "fieldtype": "Data", "width": 120}, {"label": _("Phone"), "fieldname": "phone", "fieldtype": "Data", "width": 120}, @@ -87,7 +87,7 @@ def get_data(filters): lead.status, lead.lead_owner, lead.territory, - lead.source, + lead.utm_source, lead.email_id, lead.mobile_no, lead.phone,