[fix] Allowed deletion of root account
diff --git a/erpnext/accounts/doctype/account/account.py b/erpnext/accounts/doctype/account/account.py
index 1f9c74d..104bef7 100644
--- a/erpnext/accounts/doctype/account/account.py
+++ b/erpnext/accounts/doctype/account/account.py
@@ -189,9 +189,6 @@
def validate_trash(self):
"""checks gl entries and if child exists"""
- if not self.parent_account:
- throw(_("Root account can not be deleted"))
-
if self.check_gle_exists():
throw(_("Account with existing transaction can not be deleted"))
if self.check_if_child_exists():