Revert "Merge pull request #1 from P-Froggy/patch-1"
This reverts commit 79c5266d0d0057e7c76365d47ff99604f0615700, reversing changes made to bd582cfc39610afe794459a1bb92fb1e15c3577b.
This commit is contained in:
parent
7ee8a20964
commit
7ccb8b6707
@ -17,11 +17,10 @@ frappe.ui.form.on("Supplier", {
|
||||
}
|
||||
}
|
||||
});
|
||||
frm.set_query("default_bank_account", function(doc, cdt, cdn) {
|
||||
frm.set_query("default_bank_account", function() {
|
||||
return {
|
||||
filters: {
|
||||
"is_company_account":0,
|
||||
"party":doc.name
|
||||
"is_company_account":1
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user