refactor: remove company filter

'Bank' doctype has no 'company' field.
This commit is contained in:
Nihal Roshan
2025-11-03 14:00:36 +05:30
committed by GitHub
parent 3e80e99fa6
commit f1682ea90e

View File

@@ -9,13 +9,6 @@ cur_frm.add_fetch("bank", "swift_number", "swift_number");
frappe.ui.form.on("Bank Guarantee", {
setup: function (frm) {
frm.set_query("bank", function () {
return {
filters: {
company: frm.doc.company,
},
};
});
frm.set_query("bank_account", function () {
return {
filters: {