Closed pasgou closed 4 years ago
I had the same issue, and found that I was cloning directly muk_base and muk_web in my Dockerfile:
RUN git clone https://github.com/muk-it/muk_base.git \
&& git clone https://github.com/muk-it/muk_web.git
Unfortunately muk_base has started the migration to Odoo 13.0, and 13.0
branch is currently set as default on that repository.
I fixed by adding a reference to 12.0 branch on clone :
RUN git clone -b 12.0 https://github.com/muk-it/muk_base.git \
&& git clone -b 12.0 https://github.com/muk-it/muk_web.git
Always the same Key Error, and the same as the one that appears with « res.config.settings.view.form »
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 966, in call_button action = self._call_kw(model, method, args, {}) 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 759, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/home/odoo/odoo/odoo/api.py", line 746, in _call_kw_multi result = method(recs, *args, *kwargs) File "/home/odoo/odoo/odoo/addons/base/wizard/base_module_uninstall.py", line 60, in action_uninstall return modules.button_immediate_uninstall() File "", line 2, in button_immediate_uninstall
File "/home/odoo/odoo/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, args, **kwargs)
File "/home/odoo/odoo/odoo/addons/base/models/ir_module.py", line 586, in button_immediate_uninstall
return self._button_immediate_function(type(self).button_uninstall)
File "/home/odoo/odoo/odoo/addons/base/models/ir_module.py", line 561, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/home/odoo/odoo/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/odoo/odoo/odoo/modules/loading.py", line 473, in load_modules
getattr(py_module, uninstall_hook)(cr, registry)
File "", line 37, in _uninstall_reset_changes
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'