mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
chore: verbose error message for coa recursion
This commit is contained in:
@@ -113,7 +113,7 @@ class TallyMigration(Document):
|
|||||||
try:
|
try:
|
||||||
coa = traverse({}, children, roots, roots, group_set)
|
coa = traverse({}, children, roots, roots, group_set)
|
||||||
except RecursionError:
|
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:
|
for account in coa:
|
||||||
coa[account]["root_type"] = root_type_map[account]
|
coa[account]["root_type"] = root_type_map[account]
|
||||||
|
|||||||
Reference in New Issue
Block a user