From 422ada2726ca17a69bf4ed16f7d44e12a8c11948 Mon Sep 17 00:00:00 2001 From: Abdeali Chharchhoda Date: Mon, 23 Dec 2024 08:48:46 +0530 Subject: [PATCH] fix: Remove typo (cherry picked from commit ba28f6bf7331b3ef86a49fbcce959e601956a1a4) --- erpnext/accounts/doctype/bank_account/bank_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/bank_account/bank_account.py b/erpnext/accounts/doctype/bank_account/bank_account.py index 28a4a41e28e..e51c792e8ea 100644 --- a/erpnext/accounts/doctype/bank_account/bank_account.py +++ b/erpnext/accounts/doctype/bank_account/bank_account.py @@ -21,7 +21,7 @@ class BankAccount(Document): self.name = self.account_name + " - " + self.bank def on_trash(self): - delete_contact_and_address("BankAccount", self.name) + delete_contact_and_address("Bank Account", self.name) def validate(self): self.validate_company()