fix: Show lead name when the lead calls
diff --git a/erpnext/public/js/call_popup/call_popup.js b/erpnext/public/js/call_popup/call_popup.js
index 960f005..f994b77 100644
--- a/erpnext/public/js/call_popup/call_popup.js
+++ b/erpnext/public/js/call_popup/call_popup.js
@@ -97,7 +97,7 @@
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 = '';