fix: show only company's bank accounts

This commit is contained in:
Raffael Meyer 2020-08-06 15:09:22 +02:00 committed by GitHub
parent 5de8a7a775
commit d854d39c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', {
});
}
},
})
})