commit | 5e27c7dae21c317bde812547cc6ae1f6c69ba61d | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Tue May 25 22:34:58 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Tue May 25 22:34:58 2021 +0530 |
tree | daaba64b7b25ed809092e011716b75a98b6e42cd | |
parent | 8fddd0f0c1a4b4f51af8e7834e37d7f48a08576a [diff] |
fix: Add non group filter for account
diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.js b/erpnext/accounts/doctype/payment_entry/payment_entry.js index a7fcbd7..a4022ef 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.js +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.js
@@ -97,7 +97,8 @@ return { filters: { "company": frm.doc.company, - "root_type": ["in", ["Asset", "Liability"]] + "root_type": ["in", ["Asset", "Liability"]], + "is_group": 0 } } });