diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 0a9f9b8f0a7..6db4102a7bf 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js @@ -56,7 +56,7 @@ frappe.ui.form.on("Customer", { } }) - frm.set_query('default_bank_account', function(c) { + frm.set_query('default_bank_account', function() { return { filters: { 'is_company_account': 1