Merge pull request #44829 from frappe/mergify/bp/version-14-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:29 +05:30
committed by GitHub

View File

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