Hello,
I try to uninstall Discuss module on Odoo Ver 11
and after this i have this problem before install any module even the Discuss again
Error:
Odoo Server Error
Traceback (most recent call last):
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 927, in __call__
return self.method(*args, **kw)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/home/getodoo/getopenerp/demo-db/odoo/addons/web/controllers/main.py", line 924, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/getodoo/getopenerp/demo-db/odoo/addons/web/controllers/main.py", line 916, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/api.py", line 687, in call_kw
return call_kw_model(method, model, args, kwargs)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/api.py", line 672, in call_kw_model
result = method(recs, *args, **kwargs)
File "/home/getodoo/getopenerp/demo-db/odoo/addons/mail/models/res_users.py", line 148, in activity_user_count
'icon': modules.module.get_module_icon(self.env[activity['model']]._original_module),
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/api.py", line 760, in __getitem__
return self.registry[model_name]._browse((), self)
File "/home/getodoo/getopenerp/demo-db/odoo/odoo/modules/registry.py", line 177, in __getitem__
return self.models[model_name]
KeyError: 'product.template'