-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(job card): Added quality inspection for job card #498
Conversation
Pull Request Test Coverage Report for Build 1940
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vishdha, I'm getting an error if I select Job Card and try to select an item
Traceback
Traceback (most recent call last):
File "/home/rohan/psych/apps/frappe/frappe/app.py", line 64, in application
response = frappe.api.handle()
File "/home/rohan/psych/apps/frappe/frappe/api.py", line 59, in handle
return frappe.handler.handle()
File "/home/rohan/psych/apps/frappe/frappe/handler.py", line 24, in handle
data = execute_cmd(cmd)
File "/home/rohan/psych/apps/frappe/frappe/handler.py", line 63, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/rohan/psych/apps/frappe/frappe/__init__.py", line 1054, in call
return fn(*args, **newargs)
File "/home/rohan/psych/apps/frappe/frappe/desk/search.py", line 53, in search_link
search_widget(doctype, txt, query, searchfield=searchfield, page_length=page_length, filters=filters, reference_doctype=reference_doctype, ignore_user_permissions=ignore_user_permissions)
File "/home/rohan/psych/apps/frappe/frappe/desk/search.py", line 78, in search_widget
searchfield, start, page_length, filters, as_dict=as_dict)
File "/home/rohan/psych/apps/frappe/frappe/__init__.py", line 1054, in call
return fn(*args, **newargs)
File "/home/rohan/psych/apps/erpnext/erpnext/stock/doctype/quality_inspection/quality_inspection.py", line 98, in item_query
{'parent': filters.get('parent'), 'txt': "%%%s%%" % txt})
File "/home/rohan/psych/apps/frappe/frappe/database/database.py", line 156, in sql
self._cursor.execute(query, values)
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/rohan/psych/env/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1054, "Unknown column 'quality_inspection' in 'where clause'")
Try Bench migrate |
02ac8d1
to
aa7fe32
Compare
aa7fe32
to
d2b5625
Compare
@vishdha, I'm still getting the error after the migrate, check the traceback I've added below the GIF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Alchez this is resolved |
TASK ID: https://bloomstack.com/desk#Form/Task/TASK-2020-01142
![Peek 2020-08-21 15-34](https://user-images.githubusercontent.com/6947417/90880721-93261e00-e3c6-11ea-8039-7724773c1ce4.gif)