diff --git a/core/doctype/communication/communication.js b/core/doctype/communication/communication.js index 144342d6f1..87b601a2ca 100644 --- a/core/doctype/communication/communication.js +++ b/core/doctype/communication/communication.js @@ -5,6 +5,12 @@ cur_frm.cscript.onload = function(doc) { } }; + cur_frm.fields_dict.lead.get_query = function() { + return { + query: "core.doctype.communication.communication.get_lead" + } + }; + cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { return{ query:"controllers.queries.customer_query" } }