From 7333eb280fb8f55a149b7ff782e3dc0b9788ca5b Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 7 Jul 2016 15:34:01 +0530 Subject: [PATCH] [minor] typo in customer.js --- erpnext/selling/doctype/customer/customer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index af97fed3f6..b5234f1f74 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js @@ -41,7 +41,7 @@ cur_frm.cscript.load_defaults = function(doc, dt, dn) { if(fields_to_refresh) { refresh_many(fields_to_refresh); } } -cur_frm.add_fetch('lead_name', ('company_name', 'customer_name'); +cur_frm.add_fetch('lead_name', 'company_name', 'customer_name'); cur_frm.add_fetch('default_sales_partner','commission_rate','default_commission_rate'); cur_frm.fields_dict['customer_group'].get_query = function(doc, dt, dn) {