RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/16.0/odoo/api.py", line 997, in get
cache_value = field_cache[record._ids[0]]
KeyError: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/16.0/odoo/fields.py", line 1161, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/16.0/odoo/api.py", line 1004, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'hr.role(1,).kanban_dashboard'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/16.0/odoo/api.py", line 997, in get
cache_value = field_cache[record._ids[0]]
KeyError: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/16.0/odoo/fields.py", line 1161, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/16.0/odoo/api.py", line 1004, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'hr.role(1,).hr_employee_skill_report_ids'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/16.0/odoo/http.py", line 1633, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/16.0/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/16.0/odoo/http.py", line 1660, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/16.0/odoo/http.py", line 1864, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/16.0/addons/website/models/ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/odoo/16.0/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/16.0/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/16.0/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/16.0/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/16.0/odoo/api.py", line 464, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/opt/odoo/16.0/odoo/api.py", line 435, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/opt/odoo/16.0/addons/web/models/models.py", line 62, in web_search_read
records = self.search_read(domain, fields, offset=offset, limit=limit, order=order)
File "/opt/odoo/tvtmaaddons16.0/to_org_chart/models/model_base.py", line 47, in search_read
return super(BaseModel, self).search_read(domain, fields, offset, limit, order, **read_kwargs)
File "/opt/odoo/16.0/odoo/models.py", line 5030, in search_read
result = records.read(fields, **read_kwargs)
File "/opt/odoo/16.0/odoo/models.py", line 2996, in read
return self._read_format(fnames=fields, load=load)
File "/opt/odoo/16.0/odoo/models.py", line 3175, in _read_format
vals[name] = convert(record[name], record, use_name_get)
File "/opt/odoo/16.0/odoo/models.py", line 5920, in __getitem__
return self._fields[key].__get__(self, self.env.registry[self._name])
File "/opt/odoo/16.0/odoo/fields.py", line 1210, in __get__
self.compute_value(recs)
File "/opt/odoo/16.0/odoo/fields.py", line 1392, in compute_value
records._compute_field_value(self)
File "/opt/odoo/16.0/addons/mail/models/mail_thread.py", line 403, in _compute_field_value
return super()._compute_field_value(field)
File "/opt/odoo/16.0/odoo/models.py", line 4232, in _compute_field_value
fields.determine(field.compute, self)
File "/opt/odoo/16.0/odoo/fields.py", line 98, in determine
return needle(*args)
File "/opt/odoo/tvtmaaddons16.0/viin_hr_role/models/hr_role_dashboard.py", line 14, in _compute_kanban_dashboard
r.kanban_dashboard = json.dumps(r.get_dashboard_datas())
File "/opt/odoo/tvtmaaddons16.0/viin_hr_skill_framework/models/hr_role.py", line 52, in get_dashboard_datas
for grade in self.sudo().hr_employee_skill_report_ids.grade_id:
File "/opt/odoo/16.0/odoo/fields.py", line 4372, in __get__
return super().__get__(records, owner)
File "/opt/odoo/16.0/odoo/fields.py", line 2804, in __get__
return super().__get__(records, owner)
File "/opt/odoo/16.0/odoo/fields.py", line 1187, in __get__
recs._fetch_field(self)
File "/opt/odoo/16.0/odoo/models.py", line 3201, in _fetch_field
self._read(fnames)
File "/opt/odoo/16.0/odoo/models.py", line 3311, in _read
field.read(fetched)
File "/opt/odoo/16.0/odoo/fields.py", line 4382, in read
lines = comodel.search(domain)
File "/opt/odoo/16.0/odoo/models.py", line 1520, in search
return res if count else self.browse(res)
File "/opt/odoo/16.0/odoo/models.py", line 5140, in browse
if not ids:
File "/opt/odoo/16.0/odoo/tools/query.py", line 217, in __bool__
return bool(self._result)
File "/opt/odoo/16.0/odoo/tools/func.py", line 28, in __get__
value = self.fget(obj)
File "/opt/odoo/16.0/odoo/tools/query.py", line 210, in _result
self._cr.execute(query_str, params)
File "/opt/odoo/16.0/odoo/sql_db.py", line 321, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UndefinedColumn: column hr_employee_skill_report.role_id does not exist
LINE 1: ..."hr_employee_skill_report__skill_id"."id") WHERE ("hr_employ...
^
The above server error caused the following client error:
OwlError: The following error occurred in onWillStart: "Odoo Server Error"
at wrapError (https://baoengg.viindoo.cloud/web/assets/3642-486b2da/web.assets_common.min.js:1600:77)
at onWillStart (https://baoengg.viindoo.cloud/web/assets/3642-486b2da/web.assets_common.min.js:1606:117)
at useModel (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:4853:1)
at KanbanController.setup (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:4284:851)
at KanbanController.setup (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:17187:6)
at setup (patch customizer_kanban_controller) (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:1678:22)
at KanbanController.setup (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:17837:546)
at setup (patch viin_social) (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:1678:22)
at new ComponentNode (https://baoengg.viindoo.cloud/web/assets/3642-486b2da/web.assets_common.min.js:1558:202)
at https://baoengg.viindoo.cloud/web/assets/3642-486b2da/web.assets_common.min.js:2096:6
Caused by: RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:994:163)
at XMLHttpRequest. (https://baoengg.viindoo.cloud/web/assets/3643-054d7a6/web.assets_backend.min.js:1002:13)