Merge pull request #22939 from frappe/barredterra-patch-1
fix: show only company's bank accounts
This commit is contained in:
commit
4c4c0df7bd
@ -42,7 +42,8 @@ frappe.ui.form.on('Payment Entry', {
|
||||
frm.set_query("bank_account", function() {
|
||||
return {
|
||||
filters: {
|
||||
is_company_account: 1
|
||||
is_company_account: 1,
|
||||
company: frm.doc.company
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -1049,4 +1050,4 @@ frappe.ui.form.on('Payment Entry', {
|
||||
});
|
||||
}
|
||||
},
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user