Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/api.py", line 997, in get
cache_value = field_cache[record._ids[0]]
KeyError: 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/fields.py", line 1161, in __get__
value = env.cache.get(record, self)
File "/home/odoo/src/odoo/odoo/api.py", line 1004, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'hr.job(0,).website_url'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/addons/base/controllers/rpc.py", line 151, in xmlrpc_2
response = self._xmlrpc(service)
File "/home/odoo/src/odoo/odoo/addons/base/controllers/rpc.py", line 127, in _xmlrpc
result = dispatch_rpc(service, method, params)
File "/home/odoo/src/odoo/odoo/http.py", line 369, in dispatch_rpc
return dispatch(method, params)
File "/home/odoo/src/odoo/odoo/service/model.py", line 37, in dispatch
res = execute_kw(db, uid, *params[3:])
File "/home/odoo/src/odoo/odoo/service/model.py", line 59, in execute_kw
return execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/src/odoo/odoo/service/model.py", line 65, in execute
res = execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/src/odoo/odoo/service/model.py", line 50, in execute_cr
result = retrying(partial(odoo.api.call_kw, recs, method, args, kw), env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/models.py", line 3021, in read
return self._read_format(fnames=fields, load=load)
File "/home/odoo/src/odoo/odoo/models.py", line 3202, in _read_format
vals[name] = convert(record[name], record, use_name_get)
File "/home/odoo/src/odoo/odoo/models.py", line 5975, in __getitem__
return self._fields[key].__get__(self, self.env.registry[self._name])
File "/home/odoo/src/odoo/odoo/fields.py", line 1210, in __get__
self.compute_value(recs)
File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
records._compute_field_value(self)
File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 403, in _compute_field_value
return super()._compute_field_value(field)
File "/home/odoo/src/odoo/odoo/models.py", line 4259, in _compute_field_value
fields.determine(field.compute, self)
File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
return needle(*args)
File "/home/odoo/src/odoo/addons/website_hr_recruitment/models/hr_job.py", line 52, in _compute_website_url
job.website_url = f'/jobs/detail/{slug(job)}'
File "/home/odoo/src/odoo/addons/http_routing/models/ir_http.py", line 90, in slug
raise ValueError("Cannot slug non-existent record %s" % value)
ValueError: Cannot slug non-existent record hr.job(0,)