fix: wrong source fieldname in lead details report

This commit is contained in:
Debin Robert
2025-05-19 15:02:00 +05:30
committed by GitHub
parent 2eea8c9e79
commit a912e5ddae

View File

@@ -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,