[fix] [minor] communication - fix get query on lead

This commit is contained in:
Anand Doshi 2013-08-27 16:41:13 +05:30
parent 8d990703a4
commit fff5bcf76a

View file

@ -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" } }