mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
Merge pull request #50309 from frappe/mergify/bp/version-15-hotfix/pr-50297
chore:there is no company field in bank (backport #50297)
This commit is contained in:
@@ -9,13 +9,6 @@ cur_frm.add_fetch("bank", "swift_number", "swift_number");
|
|||||||
|
|
||||||
frappe.ui.form.on("Bank Guarantee", {
|
frappe.ui.form.on("Bank Guarantee", {
|
||||||
setup: function (frm) {
|
setup: function (frm) {
|
||||||
frm.set_query("bank", function () {
|
|
||||||
return {
|
|
||||||
filters: {
|
|
||||||
company: frm.doc.company,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
});
|
|
||||||
frm.set_query("bank_account", function () {
|
frm.set_query("bank_account", function () {
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
|
|||||||
Reference in New Issue
Block a user