commit | d854d39c00a23e1121020509697383e5d04d1bcc | [log] [tgz] |
---|---|---|
author | Raffael Meyer <14891507+barredterra@users.noreply.github.com> | Thu Aug 06 15:09:22 2020 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 06 15:09:22 2020 +0200 |
tree | f227cd3e161730d868822d3e89b7f093d129f9ee | |
parent | 5de8a7a775091c6d073c133829a363a3b9764625 [diff] |
fix: show only company's bank accounts
diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.js b/erpnext/accounts/doctype/payment_entry/payment_entry.js index adfaade..9fc44bc 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.js +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.js
@@ -42,7 +42,8 @@ frm.set_query("bank_account", function() { return { filters: { - is_company_account: 1 + is_company_account: 1, + company: frm.doc.company } } }); @@ -1049,4 +1050,4 @@ }); } }, -}) \ No newline at end of file +})