You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to enter Timesheet via Timesheets / Timesheets / Start Work I get following error
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 1611, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 1815, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/website/models/ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/models.py", line 6407, in onchange
defaults = self.default_get(missing_names)
File "/home/custom_addons/TSD-ERP-CE/project_timesheet_time_control/wizards/hr_timesheet_switch.py", line 165, in default_get
inherited = self._closest_suggestion()
File "/home/custom_addons/TSD-ERP-CE/helpdesk_mgmt_timesheet/wizards/hr_timesheet_switch.py", line 16, in _closest_suggestion
and self.env.context["active_model"] == "helpdesk.ticket"
KeyError: 'active_model'
The above server error caused the following client error:
null
To Reproduce
Affected versions:
Steps to reproduce the behavior:
Install the module helpdesk_mgmt_timesheet on a db which has already project_timesheet_time_control installed.
Go to Timesheets / Timesheet / Start Work
Error Appers
Expected behavior
Error should not appear and I am able to get the wizard where I can enter the Task and start work.
Additional context
Hosted on GCP Linux VM on Odoo v16
The text was updated successfully, but these errors were encountered:
Compatibility issue of module OCA/helpdesk_mgmt_timesheet with OCA/project_timesheet_time_control
Module
The name of the module that has a bug.
helpdesk_mgmt_timesheet
Describe the bug
When trying to enter Timesheet via Timesheets / Timesheets / Start Work I get following error
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 1611, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 1815, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/website/models/ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/bitnami/odoo/lib/odoo-16.0.post20230915-py3.10.egg/odoo/models.py", line 6407, in onchange
defaults = self.default_get(missing_names)
File "/home/custom_addons/TSD-ERP-CE/project_timesheet_time_control/wizards/hr_timesheet_switch.py", line 165, in default_get
inherited = self._closest_suggestion()
File "/home/custom_addons/TSD-ERP-CE/helpdesk_mgmt_timesheet/wizards/hr_timesheet_switch.py", line 16, in _closest_suggestion
and self.env.context["active_model"] == "helpdesk.ticket"
KeyError: 'active_model'
The above server error caused the following client error:
null
To Reproduce
Affected versions:
Steps to reproduce the behavior:
Expected behavior
Error should not appear and I am able to get the wizard where I can enter the Task and start work.
Additional context
Hosted on GCP Linux VM on Odoo v16
The text was updated successfully, but these errors were encountered: