From fff5bcf76a0c3ce5893ac71d2dffd212d24e2212 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 27 Aug 2013 16:41:13 +0530 Subject: [PATCH] [fix] [minor] communication - fix get query on lead --- core/doctype/communication/communication.js | 6 ++++++ 1 file changed, 6 insertions(+) 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" } }