Merge pull request #44830 from frappe/mergify/bp/version-15-hotfix/pr-44826

fix: Remove typo from `Bank Account` on trash (backport #44826)
This commit is contained in:
ruthra kumar
2024-12-23 11:26:19 +05:30
committed by GitHub

View File

@@ -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()