i Got this Error when i open the chart of account :
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/odoo/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/odoo/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: ('ir.actions.actions', <function IrActions.get_bindings at 0x7f96a7591b70>, frozenset({1, 2, 3, 4, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85}), 'account.account')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo/api.py", line 745, in get
value = self._data[field][record._ids[0]]
KeyError: 761
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo/fields.py", line 996, in __get__
value = env.cache.get(record, self)
File "/odoo/odoo/api.py", line 751, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('ir.actions.act_window(761,).search_view', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo/http.py", line 619, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo/http.py", line 309, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/odoo/odoo/http.py", line 664, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo/http.py", line 345, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo/http.py", line 338, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo/http.py", line 910, in __call__
return self.method(*args, **kw)
File "/odoo/odoo/http.py", line 510, in response_wrap
response = f(*args, **kw)
File "/odoo/addons/web/controllers/main.py", line 1322, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo/addons/web/controllers/main.py", line 1314, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo/api.py", line 383, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/odoo/odoo/api.py", line 356, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/odoo/odoo/models.py", line 1441, in load_views
for [v_id, v_type] in views
File "/odoo/odoo/models.py", line 1441, in <dictcomp>
for [v_id, v_type] in views
File "/odoo/addons/web/models/models.py", line 204, in fields_view_get
r = super().fields_view_get(view_id, view_type, toolbar, submenu)
File "/odoo/odoo/models.py", line 1535, in fields_view_get
bindings = self.env['ir.actions.actions'].get_bindings(self._name)
File "<decorator-gen-36>", line 2, in get_bindings
File "/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/odoo/odoo/addons/base/models/ir_actions.py", line 123, in get_bindings
result[binding_type].append(action.read()[0])
File "/odoo/odoo/addons/base/models/ir_actions.py", line 204, in read
result = super(IrActionsActWindow, self).read(fields, load=load)
File "/odoo/odoo/models.py", line 2915, in read
vals[name] = convert(record[name], record, use_name_get)
File "/odoo/odoo/models.py", line 5610, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/odoo/odoo/fields.py", line 1020, in __get__
self.compute_value(recs)
File "/odoo/odoo/fields.py", line 1105, in compute_value
records._compute_field_value(self)
File "/odoo/odoo/models.py", line 3915, in _compute_field_value
getattr(self, field.compute)()
File "/odoo/odoo/addons/base/models/ir_actions.py", line 171, in _compute_search_view
fvg = self.env[act.res_model].fields_view_get(act.search_view_id.id, 'search')
File "/odoo/odoo/api.py", line 463, in __getitem__
return self.registry[model_name]._browse(self, (), ())
File "/odoo/odoo/modules/registry.py", line 177, in __getitem__
return self.models[model_name]
KeyError: 'account.report.general.ledger'
I do get the same error on a Odoo 12 instance with a migrated database. Did you find any solution yet?