mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +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 {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
"is_company_account":0,
|
"is_company_account":1
|
||||||
"party":doc.name
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user