From f73d459c80d2de3e5cb868045a32b11df853c2dc Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Sun, 19 Feb 2017 17:46:05 +0530 Subject: [PATCH] [Fix] Removed employee party type from the payment entry --- erpnext/accounts/doctype/payment_entry/payment_entry.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.js b/erpnext/accounts/doctype/payment_entry/payment_entry.js index 013036651b..79a8f2b78a 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.js +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.js @@ -28,7 +28,9 @@ frappe.ui.form.on('Payment Entry', { frm.set_query("party_type", function() { return{ - query: "erpnext.setup.doctype.party_type.party_type.get_party_type" + "filters": { + "name": ["in",["Customer","Supplier"]], + } } });