mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 20:35:09 +00:00
refactor!: remove whitelisted method make_bank_account (#49001)
This commit is contained in:
@@ -118,15 +118,6 @@ class BankAccount(Document):
|
||||
)
|
||||
|
||||
|
||||
@frappe.whitelist()
|
||||
def make_bank_account(doctype, docname):
|
||||
doc = frappe.new_doc("Bank Account")
|
||||
doc.party_type = doctype
|
||||
doc.party = docname
|
||||
|
||||
return doc
|
||||
|
||||
|
||||
def get_party_bank_account(party_type, party):
|
||||
return frappe.db.get_value(
|
||||
"Bank Account",
|
||||
|
||||
Reference in New Issue
Block a user