mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +00:00
chore: verbose error message for coa recursion
(cherry picked from commit cb1376b036)
This commit is contained in:
committed by
mergify-bot
parent
43a19da27a
commit
2e825a108f
@@ -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