This question has been flagged
4 Replies
2363 Views

Hello all,

I recently installed the MuK website grid snippets module through the import module on Odoo 12 and I am now unable to access my general settings. The module threw an error during the initial install so I went back and installed odoo-autodiscover and the MuK website grid snippets through pip. However I'm still getting an error when I try to access my general settings. I suspect MuK Utils and/or MuK Web Utils may be the culprit as they both inherit res.config.settings.view.form though I may be completely wrong. I'm still very new to odoo and I haven't been able to resolve this problem. If anybody is willing to help I've posted the traceback below.


Error:

Odoo Server Error


Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 653, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise

    raise value

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 695, in dispatch

    result = self._call_function(**self.params)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper

    return f(dbname, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call

    result = self.endpoint(*a, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 938, in __call__

    return self.method(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap

    response = f(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 962, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/usr/lib/python3/dist-packages/odoo/api.py", line 745, in call_kw

    return _call_kw_model(method, model, args, kwargs)

  File "/usr/lib/python3/dist-packages/odoo/api.py", line 718, in _call_kw_model

    result = method(recs, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1368, in load_views

    for [v_id, v_type] in views

  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1368, in <dictcomp>

    for [v_id, v_type] in views

  File "/usr/local/lib/python3.6/dist-packages/odoo/addons/muk_web_utils/models/res_config_settings.py", line 68, in fields_view_get

    view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 395, in fields_view_get

    toolbar=toolbar, submenu=submenu)

  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1447, in fields_view_get

    result = self._fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1410, in _fields_view_get

    root_view = View.browse(view_id).read_combined(['id', 'name', 'field_parent', 'type', 'model', 'arch'])

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 780, in read_combined

    arch = self.apply_view_inheritance(arch_tree, root.id, self.model)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 730, in apply_view_inheritance

    source = self.apply_view_inheritance(source, view_id, model, root_id=root_id)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 729, in apply_view_inheritance

    source = self.apply_inheritance_specs(source, specs_tree, view_id)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 707, in apply_inheritance_specs

    self.raise_view_error(_("Element '%s' cannot be located in parent view") % tag, inherit_id)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 545, in raise_view_error

    raise ValueError(message)

ValueError: Element '<div name="storage">' cannot be located in parent view


Error context:

View `res.config.settings.view.form`

[view_id: 1998, xml_id: n/a, model: res.config.settings, parent_id: 246]


Avatar
Discard

if you feel that the issue is coming from the custom module you have installed, just report/create an issue it in the GitHub repo of the corresponding author, https://github.com/muk-it/muk_web

Best Answer

Hi,

I have the same problem! 

https://www.odoo.com/forum/help-1/question/odoo-server-error-unable-to-open-settings-page-154173

I have installed "MuK Bank Statement Import" module (and dependencies :  MuK Accounting and Finance, MuK Web Utils, MuK Autovacuum, MuK Utils)

Have you found a solution ?


Thanks.

Avatar
Discard
Best Answer

@Max I'm sorry to hear you didn't get any help. However, I can't find a ticket to this bug on our Github either. At first glance, this bug should be fixed by updating the app to the latest version. If the bug persists, please create a ticket to Github. We are trying very hard to react to all questions and problems.

Github: https://github.com/muk-it

Avatar
Discard
Author Best Answer

I've posted an issue on the developers git and contacted them directly through their website with no luck so far. If somebody could point me in the right direction I'd be very grateful.

Avatar
Discard