From 34584cd8f80ccc5559bfe8b24a9a507d9e8ddc72 Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Fri, 22 Aug 2025 18:15:19 +0200 Subject: [PATCH] refactor!: remove whitelisted method `make_bank_account` (#49001) --- erpnext/accounts/doctype/bank_account/bank_account.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/erpnext/accounts/doctype/bank_account/bank_account.py b/erpnext/accounts/doctype/bank_account/bank_account.py index 623d62491b4..9c55502af6b 100644 --- a/erpnext/accounts/doctype/bank_account/bank_account.py +++ b/erpnext/accounts/doctype/bank_account/bank_account.py @@ -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",