RPC_ERROR Odoo Server Error Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/api.py", line 899, in get return field_cache[record._ids[0]] KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1083, in __get__ value = env.cache.get(record, self) File "/usr/lib/python3/dist-packages/odoo/api.py", line 902, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: 'dms.file(,).path_json' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 242, in _dispatch result = request.dispatch() File "/usr/lib/python3/dist-packages/odoo/http.py", line 702, in dispatch result = self._call_function(**self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 368, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 357, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 925, in __call__ return self.method(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 546, in response_wrap response = f(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1324, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1316, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 471, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 456, in _call_kw_multi result = method(recs, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/models.py", line 6484, in onchange snapshot0 = Snapshot(record, nametree, fetch=(not first_call)) File "/usr/lib/python3/dist-packages/odoo/models.py", line 6319, in __init__ self.fetch(name) File "/usr/lib/python3/dist-packages/odoo/models.py", line 6327, in fetch self[name] = [Snapshot(line, tree[name]) for line in record[name]] File "/usr/lib/python3/dist-packages/odoo/models.py", line 6327, in self[name] = [Snapshot(line, tree[name]) for line in record[name]] File "/usr/lib/python3/dist-packages/odoo/models.py", line 6319, in __init__ self.fetch(name) File "/usr/lib/python3/dist-packages/odoo/models.py", line 6329, in fetch self[name] = record[name] File "/usr/lib/python3/dist-packages/odoo/models.py", line 5936, in __getitem__ return self._fields[key].__get__(self, self.env.registry[self._name]) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1132, in __get__ self.compute_value(recs) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1295, in compute_value records._compute_field_value(self) File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 411, in _compute_field_value return super()._compute_field_value(field) File "/usr/lib/python3/dist-packages/odoo/models.py", line 4277, in _compute_field_value fields.determine(field.compute, self) File "/usr/lib/python3/dist-packages/odoo/fields.py", line 88, in determine return needle(*args) File "/mnt/extra-addons/Custom/dms/models/dms_file.py", line 463, in _compute_path "path_names": "/".join(path_names), Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 658, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause TypeError: sequence item 0: expected str instance, bool found