(cherry picked from commit 005291e6dd4088fca23fa36b85f1755510939823) Co-authored-by: François de Ryckel <f.deryckel@gmail.com>
This commit is contained in:
parent
13192e1db1
commit
bf8d0c256d
@ -230,7 +230,7 @@ class Account(NestedSet):
|
|||||||
if self.check_gle_exists():
|
if self.check_gle_exists():
|
||||||
throw(_("Account with existing transaction can not be converted to group."))
|
throw(_("Account with existing transaction can not be converted to group."))
|
||||||
elif self.account_type and not self.flags.exclude_account_type_check:
|
elif self.account_type and not self.flags.exclude_account_type_check:
|
||||||
throw(_("Cannot covert to Group because Account Type is selected."))
|
throw(_("Cannot convert to Group because Account Type is selected."))
|
||||||
else:
|
else:
|
||||||
self.is_group = 1
|
self.is_group = 1
|
||||||
self.save()
|
self.save()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user