I m unable to use or view the POS system after i upgraded to version 9.
I did bench update --reset
and everything went smoothly.
but when i click the POS icon i get blank screen with error message- something went wrong
and traceback i got in console was :
POST
XHR
http://localhost:8000/ [HTTP/1.0 500 INTERNAL SERVER ERROR 25ms] desk.min.js:1565:7
>
Traceback (most recent call last):
File "/home/taher/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
response = frappe.handler.handle()
File "/home/taher/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/home/taher/frappe-bench/apps/frappe/frappe/handler.py", line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/taher/frappe-bench/apps/frappe/frappe/__init__.py", line 923, in call
return fn(*args, **newargs)
File "/home/taher/frappe-bench/apps/erpnext/erpnext/accounts/doctype/sales_invoice/pos.py", line 16, in get_pos_data
doc = frappe.new_doc('Sales Invoice')
File "/home/taher/frappe-bench/apps/frappe/frappe/__init__.py", line 598, in new_doc
return get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)
File "/home/taher/frappe-bench/apps/frappe/frappe/model/create_new.py", line 20, in get_new_doc
frappe.local.new_doc_templates[doctype] = make_new_doc(doctype)
File "/home/taher/frappe-bench/apps/frappe/frappe/model/create_new.py", line 38, in make_new_doc
"docstatus": 0
File "/home/taher/frappe-bench/apps/frappe/frappe/__init__.py", line 622, in get_doc
return frappe.model.document.get_doc(*args, **kwargs)
File "/home/taher/frappe-bench/apps/frappe/frappe/model/document.py", line 68, in get_doc
return controller(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'owner'
Please help-- POS is a key feature.
Thanks