Traceback (most recent call last):
File "/home/aafpl/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/home/aafpl/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/home/aafpl/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/home/aafpl/frappe-bench/apps/frappe/frappe/__init__.py", line 876, in call
return fn(*args, **newargs)
File "/home/aafpl/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 88, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File "/home/aafpl/frappe-bench/apps/erpnext/erpnext/accounts/report/balance_sheet/balance_sheet.py", line 13, in execute
asset = get_data(filters.company, "Asset", "Debit", period_list, only_current_fiscal_year=False)
File "/home/aafpl/frappe-bench/apps/erpnext/erpnext/accounts/report/financial_statements.py", line 109, in get_data
calculate_values(accounts_by_name, gl_entries_by_account, period_list, accumulated_values)
File "/home/aafpl/frappe-bench/apps/erpnext/erpnext/accounts/report/financial_statements.py", line 127, in calculate_values
d[period.key] = d.get(period.key, 0.0) + flt(entry.debit) - flt(entry.credit)
AttributeError: 'NoneType' object has no attribute 'get'
1 Like
+1 on this
Hi …
Please help on this.
Can’t replicate.
Seems like, somehow the nestedset model for the account tree has been broken. Try to execute rebuild_tree function from Console.
Hi please suggest how to do the same as the error is still continued.
Same error after V7 update, running on ubuntu 14.04
Hi ,
Please Help of this issue !!
Hi ,
Please update the issue !
@Ashish_Dhingra any update on this issue? Facing the same problem and raising an issue on Github for this.