Merge pull request #12370 from Zlash65/fix-root-node-delete

[Fix] Delete root node for account
This commit is contained in:
Prateeksha Singh
2018-01-08 12:51:31 +05:30
committed by GitHub

View File

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