mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 04:58:29 +00:00
delete root node allow
This commit is contained in:
@@ -163,7 +163,7 @@ class Account(NestedSet):
|
||||
if self.check_gle_exists():
|
||||
throw(_("Account with existing transaction can not be deleted"))
|
||||
|
||||
super(Account, self).on_trash()
|
||||
super(Account, self).on_trash(True)
|
||||
|
||||
def before_rename(self, old, new, merge=False):
|
||||
# Add company abbr if not provided
|
||||
|
||||
Reference in New Issue
Block a user