From 7ff124db954e2462651b869323e9616900ae4c34 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Tue, 11 Jun 2019 14:21:48 +0530 Subject: [PATCH] fix: Show lead name when the lead calls --- erpnext/public/js/call_popup/call_popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/call_popup/call_popup.js b/erpnext/public/js/call_popup/call_popup.js index 960f00515c7..f994b772a79 100644 --- a/erpnext/public/js/call_popup/call_popup.js +++ b/erpnext/public/js/call_popup/call_popup.js @@ -97,7 +97,7 @@ class CallPopup { setup_known_caller(wrapper) { const contact = this.contact; - const contact_name = frappe.utils.get_form_link('Contact', contact.name, true); + const contact_name = frappe.utils.get_form_link(contact.doctype, contact.name, true, contact.lead_name); const links = contact.links ? contact.links : []; let contact_links = '';