From ba28f6bf7331b3ef86a49fbcce959e601956a1a4 Mon Sep 17 00:00:00 2001 From: Abdeali Chharchhoda Date: Mon, 23 Dec 2024 08:48:46 +0530 Subject: [PATCH] fix: Remove typo --- 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 0ff31f7fcde..cda01ed4871 100644 --- a/erpnext/accounts/doctype/bank_account/bank_account.py +++ b/erpnext/accounts/doctype/bank_account/bank_account.py @@ -48,7 +48,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()