mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
chore: verbose error message for coa recursion
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user