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

No search result for masters #385

Closed
umairsy opened this issue May 29, 2013 · 1 comment
Closed

No search result for masters #385

umairsy opened this issue May 29, 2013 · 1 comment

Comments

@umairsy
Copy link
Member

umairsy commented May 29, 2013

Issue occurring in Sales Invoice. To name a few masters..

Cost Center
Terms and Condition
Taxes and Charges

Below is the error log when search for Cost Center:

Uncaught TypeError: Object [object Object] has no method 'apply' jquery.min.js:3
b.event.dispatch jquery.min.js:3
v.handle jquery.min.js:3
b.event.trigger jquery.min.js:3
b.event.simulate jquery.min.js:3
r jquery.min.js:4
(anonymous function) all-app.min.js:2390
b.event.dispatch jquery.min.js:3
v.handle jquery.min.js:3
b.event.trigger jquery.min.js:3
(anonymous function) jquery.min.js:4
b.extend.each jquery.min.js:3
b.fn.b.each jquery.min.js:3
b.fn.extend.trigger jquery.min.js:4
(anonymous function) all-app.min.js:879
i jquery.min.js:4
b.event.dispatch jquery.min.js:3
v.handle jquery.min.js:3

Traceback (innermost last):
File "../lib/webnotes/handler.py", line 154, in handle
execute_cmd(cmd)
File "../lib/webnotes/handler.py", line 189, in execute_cmd
ret = call(method, webnotes.form_dict)
File "../lib/webnotes/handler.py", line 206, in call
return fn(**newargs)
File "../lib/webnotes/widgets/search.py", line 54, in search_widget
searchfield, start, page_len, filters)
File "../app/accounts/utils.py", line 228, in get_cost_center_list
if not filters.get("group_or_ledger"):
AttributeError: 'list' object has no attribute 'get'

@anandpdoshi
Copy link
Contributor

fixed

rmehta added a commit to rmehta/erpnext that referenced this issue Aug 18, 2015
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

2 participants