Open jmatsushita opened 8 years ago
@jmatsushita I have tested again with fresh install in my local but did not face any issue while forking existing charts. Which charts are you forking? Have you installed erpnext before installing chart_of_accounts_builder app?
while forking the existing Chart of account it is giving following error in terminal.
2016-07-05 12:18:51,810 New Exception collected with id: 2016-07-05 12:18:51.807677-127.0.0.1-815 12:18:51 web.1 | site: site4.local 12:18:51 web.1 | form: {'cmd': u'chart_of_accounts_builder.utils.fork', 'company': u'test4'} 12:18:51 web.1 | 12:18:51 web.1 | Traceback (innermost last): 12:18:51 web.1 | File "/home/dell/frappe-bench/apps/frappe/frappe/app.py", line 57, in application 12:18:51 web.1 | response = frappe.handler.handle() 12:18:51 web.1 | File "/home/dell/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle 12:18:51 web.1 | execute_cmd(cmd) 12:18:51 web.1 | File "/home/dell/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd 12:18:51 web.1 | ret = frappe.call(method, *_frappe.form_dict) 12:18:51 web.1 | File "/home/dell/frappe-bench/apps/frappe/frappe/init.py", line 813, in call 12:18:51 web.1 | return fn(_args, **newargs) 12:18:51 web.1 | File "/home/dell/frappe-bench/apps/chart_of_accounts_builder/chart_of_accounts_builder/utils.py", line 64, in fork 12:18:51 web.1 | ref_company.default_currency, ref_company.chart_of_accounts, ref_company.name) 12:18:51 web.1 | File "/home/dell/frappe-bench/apps/chart_of_accounts_builder/chart_of_accounts_builder/utils.py", line 80, in create_company 12:18:51 web.1 | company.company_name = company.name 12:18:51 web.1 | AttributeError: 'NoneType' object has no attribute 'name'
Hi there,
I'm trying to install this app on a new instance of ERPNext but I get the following error when trying to add a new CoA: