mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 22:48:27 +00:00
Revert "Merge pull request #1 from P-Froggy/patch-1"
This reverts commit79c5266d0d, reversing changes made tobd582cfc39.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user