From d8df7b58846f5995543307e67075573fec5b3bc7 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 3 May 2012 17:49:45 +0530 Subject: [PATCH] quotation fix --- erpnext/selling/doctype/quotation/quotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index 285c2d1763..280726063f 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -145,7 +145,7 @@ cur_frm.fields_dict['lead'].get_query = function(doc,cdt,cdn){ cur_frm.cscript.lead = function(doc, cdt, cdn) { if(doc.lead) { - get_server_fields('get_lead_details', doc.lead,'', doc, cdt, cdn, 1, callback); + get_server_fields('get_lead_details', doc.lead,'', doc, cdt, cdn, 1); unhide_field('territory'); } }