Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - General Ledger #5411

Closed
fderyckel opened this issue May 29, 2016 · 1 comment
Closed

Error - General Ledger #5411

fderyckel opened this issue May 29, 2016 · 1 comment

Comments

@fderyckel
Copy link
Contributor

I got this error while refreshing the general ledger page.

Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, *_frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 854, in call
return fn(_args, **newargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 88, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/general_ledger/general_ledger.py", line 23, in execute
res = get_result(filters, account_details)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/general_ledger/general_ledger.py", line 97, in get_result
gl_entries = get_gl_entries(filters)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/general_ledger/general_ledger.py", line 124, in get_gl_entries
group_by_condition=group_by_condition), filters, as_dict=1)
File "/home/frappe/frappe-bench/apps/frappe/frappe/database.py", line 136, in sql
self._cursor.execute(query, values)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 185, in execute
for key, item in args.iteritems())
KeyError: 'company'

@nabinhait
Copy link
Member

Pushed a potential fix, can you please update and check?

@rmehta rmehta closed this as completed May 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants