chore: verbose error message for coa recursion
This commit is contained in:
parent
0c353a64a4
commit
cb1376b036
@ -113,7 +113,7 @@ class TallyMigration(Document):
|
||||
try:
|
||||
coa = traverse({}, children, roots, roots, group_set)
|
||||
except RecursionError:
|
||||
self.log()
|
||||
self.log(_("Error occured while parsing Chart of Accounts: Please make sure that no two accounts have the same name"))
|
||||
|
||||
for account in coa:
|
||||
coa[account]["root_type"] = root_type_map[account]
|
||||
|
Loading…
x
Reference in New Issue
Block a user