mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 14:08:29 +00:00
minor fix
This commit is contained in:
@@ -87,7 +87,7 @@ class Account(Document):
|
||||
return
|
||||
|
||||
existing_is_group = frappe.db.get_value("Account", self.name, "is_group")
|
||||
if self.is_group != existing_is_group:
|
||||
if cint(self.is_group) != cint(existing_is_group):
|
||||
if self.check_gle_exists():
|
||||
throw(_("Account with existing transaction cannot be converted to ledger"))
|
||||
elif self.is_group:
|
||||
|
||||
Reference in New Issue
Block a user