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) {