muk-it / muk_web

MuK Odoo Web Modules
GNU Lesser General Public License v3.0
109 stars 231 forks source link

After installing muk-web-them, unable to go to settings #145

Closed pasgou closed 4 years ago

pasgou commented 4 years ago

Erreur: Odoo Server Error

Traceback (most recent call last): File "/home/odoo/odoo/odoo/http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/odoo/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/home/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise raise value File "/home/odoo/odoo/odoo/http.py", line 698, in dispatch result = self._call_function(self.params) File "/home/odoo/odoo/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, *kwargs) File "/home/odoo/odoo/odoo/service/model.py", line 97, in wrapper return f(dbname, args, kwargs) File "/home/odoo/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, kw) File "/home/odoo/odoo/odoo/http.py", line 941, in call return self.method(*args, *kw) File "/home/odoo/odoo/odoo/http.py", line 519, in response_wrap response = f(args, kw) File "/home/odoo/odoo/addons/web/controllers/main.py", line 962, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/odoo/odoo/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/odoo/odoo/api.py", line 755, in call_kw return _call_kw_model(method, model, args, kwargs) File "/home/odoo/odoo/odoo/api.py", line 728, in _call_kw_model result = method(recs, *args, **kwargs) File "/home/odoo/odoo/odoo/addons/base/models/res_config.py", line 554, in default_get res.update(self.get_values()) File "/home/odoo/imported_addons/muk_web_theme/models/res_config_settings.py", line 143, in get_values colors = self.env['muk_utils.scss_editor'].get_values( File "/home/odoo/odoo/odoo/api.py", line 831, in getitem return self.registry[model_name]._browse((), self) File "/home/odoo/odoo/odoo/modules/registry.py", line 176, in getitem return self.models[model_name] KeyError: 'muk_utils.scss_editor'

pasgou commented 4 years ago

After looking for the error in code, perhaps the ‘muk_utils.scss_editor’ module is not imported in code and could not be called.

pasgou commented 4 years ago

I found the mistake : and don't know how muk_base was install in the version 13 on an odoo 12, and it's impossible to réinstall in the db