Server application error
Error code: 200
Error message: Odoo Server Error
Error data message:
400 Bad Request: <function Home.web_client at 0x7fd46c17eae8>, /web: Function declared as capable of handling request of type 'http' but called with a request of type 'json'
Error data debug:
Traceback (most recent call last):
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/custom/src/odoo/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 318, in _call_function
raise werkzeug.exceptions.BadRequest(msg % params)
werkzeug.exceptions.BadRequest: 400 Bad Request: <function Home.web_client at 0x7fd46c17eae8>, /web: Function declared as capable of handling request of type 'http' but called with a request of type 'json'
ajax.js:35:25
Uncaught (in promise)
Object { message: {…}, event: {…} }
STR:
search -m hr.attendance -l 1
Error 1:
Error 2: