Skip to Content
Menu
This question has been flagged
1495 Views
View name: stock.picking.form
Error context:
 view: ir.ui.view(2150,)
 xmlid: brokery_condition.stock_brokery_ext
 view.model: stock.picking
 view.parent: ir.ui.view(1051,)
Avatar
Discard
Author

here i copied more information related to subject issue for any help

Author

Error:
Odoo Server Error

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/home/odoo/src/odoo/odoo/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/odoo/odoo/http.py", line 361, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/http.py", line 349, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 914, in __call__
return self.method(*args, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 533, in response_wrap
response = f(*args, **kw)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1388, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1380, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 395, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 368, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/models.py", line 1527, in load_views
result['fields_views'] = {
File "/home/odoo/src/odoo/odoo/models.py", line 1528, in <dictcomp>
v_type: self.fields_view_get(v_id, v_type if v_type != 'list' else 'tree',
File "/home/odoo/src/odoo/addons/web/models/models.py", line 246, in fields_view_get
r = super().fields_view_get(view_id, view_type, toolbar, submenu)
File "/home/odoo/src/odoo/odoo/models.py", line 1611, in fields_view_get
result = self._fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
File "/home/odoo/src/odoo/odoo/models.py", line 1572, in _fields_view_get
root_view = View.browse(view_id).read_combined(['id', 'name', 'field_parent', 'type', 'model', 'arch'])
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 816, in read_combined
arch = root.apply_view_inheritance(arch_tree, self.model)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 757, in apply_view_inheritance
return self._apply_view_inheritance(source, inherit_tree)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 765, in _apply_view_inheritance
source = view.apply_inheritance_specs(source, arch_tree)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 742, in apply_inheritance_specs
self.handle_view_error(str(e))
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 680, in handle_view_error
raise ValueError(formatted_message).with_traceback(from_traceback) from from_exception
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 641, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Element '<xpath expr="//field[@name='broker_id']">' cannot be located in parent view

View name: stock.picking.form
Error context:
view: ir.ui.view(2150,)
xmlid: brokery_condition.stock_brokery_ext
view.model: stock.picking
view.parent: ir.ui.view(1051,)

Related Posts Replies Views Activity
2
Jul 24
358
1
Aug 23
733
1
Jul 23
1087
0
Mar 22
1593
2
Feb 20
6057