Skip to Content
Menu
This question has been flagged
2 Replies
4294 Views

Hi all!

Recently I have installed "MuK Bank Statement Import" module (and dependencies) on my Odoo12 (docker container).

The new modules work fine but now I can't open the Settings page : I receive an "Odoo Server Error".

How I can find/resolve the problem ?


Thanks for your help!!



The full error is the following:



Error: 
Odoo Server Error 

Traceback (most recent call last): 
File "/usr/lib/python3/dist-packages/odoo/http.py", line 654, 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 696, 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 939, 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 1376, in load_views 
for [v_id, v_type] in views 
File "/usr/lib/python3/dist-packages/odoo/models.py", line 1376, in <dictcomp> 
for [v_id, v_type] in views 
File "/mnt/extra-addons/muk_web_utils/models/res_config_settings.py", line 71, 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 1455, 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 1418, 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 783, 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 733, 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 732, 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 710, 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 548, 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: 1344, xml_id: n/a, model: res.config.settings, parent_id: 246]


Avatar
Discard
Author Best Answer

Hi Niyas,

I have uninstalled the module... but the problem remains!


Error:
Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 654, 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 696, 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 939, 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 1376, in load_views
for [v_id, v_type] in views
File "/usr/lib/python3/dist-packages/odoo/models.py", line 1376, in <dictcomp>
for [v_id, v_type] in views
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 1455, 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 1418, 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 783, 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 733, 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 732, 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 710, 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 548, 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: 1344, xml_id: n/a, model: res.config.settings, parent_id: 246]

Avatar
Discard
Best Answer

Hi,

Uninstall the module and see whether the error is still there. If not, the error is coming from the custom module you have installed. You can check the corresponding github repository of the module author and see whether the issue is there already reported, also check the comments in the odoo store for the same module.

The error is due to, a referenced div cannot be found in the parent view, it might be removed by some other custom module or it may not be there by default.

Also I will suggest you to install the module in a fresh database and check.

Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 19
9594
1
Oct 24
193
0
Dec 23
652
2
May 23
2097
3
Sep 21
10606