I have made pos profile for online pos. But when i open pos items are not showing. I have tried both check and uncheck of “Display Items In Stock” but still it’s not showing. I have stock balance in that specific warehouse.
There is no error in js console Current configuration
If Display Items In Stock is unchecked in pos profile then i face an error
Traceback (most recent call last):
File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/opt/bench/erpnext/apps/frappe/frappe/handler.py", line 20, in handle
data = execute_cmd(cmd)
File "/opt/bench/erpnext/apps/frappe/frappe/handler.py", line 55, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1007, in call
return fn(*args, **newargs)
File "/opt/bench/erpnext/apps/erpnext/erpnext/selling/page/point_of_sale/point_of_sale.py", line 60, in get_items
}, as_dict=1)
File "/opt/bench/erpnext/apps/frappe/frappe/database/database.py", line 154, in sql
self._cursor.execute(query, values)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 168, in execute
query = self.mogrify(query, args)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 147, in mogrify
query = query % self._escape_args(args, conn)
KeyError: 'item_code'