Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
378 Vizualizări

Hello

I got this error when I want to open my custom module.

Thanks for you help.


Odoo Server Error
Traceback (most recent call last):
  File "D:\Odoo13\server\odoo\http.py", line 619, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "D:\Odoo13\server\odoo\http.py", line 309, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "D:\Odoo13\server\odoo\tools\pycompat.py", line 14, in reraise
    raise value
  File "D:\Odoo13\server\odoo\http.py", line 664, in dispatch
    result = self._call_function(**self.params)
  File "D:\Odoo13\server\odoo\http.py", line 345, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "D:\Odoo13\server\odoo\service\model.py", line 93, in wrapper
    return f(dbname, *args, **kwargs)
  File "D:\Odoo13\server\odoo\http.py", line 338, in checked_call
    result = self.endpoint(*a, **kw)
  File "D:\Odoo13\server\odoo\http.py", line 909, in __call__
    return self.method(*args, **kw)
  File "D:\Odoo13\server\odoo\http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "D:\Odoo13\server\odoo\addons\web\controllers\main.py", line 1319, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "D:\Odoo13\server\odoo\addons\web\controllers\main.py", line 1311, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "D:\Odoo13\server\odoo\api.py", line 391, in call_kw
    result = _call_kw_model(method, model, args, kwargs)
  File "D:\Odoo13\server\odoo\api.py", line 364, in _call_kw_model
    result = method(recs, *args, **kwargs)
  File "D:\Odoo13\server\odoo\models.py", line 1432, in load_views
    for [v_id, v_type] in views
  File "D:\Odoo13\server\odoo\models.py", line 1432, in 
    for [v_id, v_type] in views
  File "D:\Odoo13\server\odoo\addons\web\models\models.py", line 203, in fields_view_get
    r = super().fields_view_get(view_id, view_type, toolbar, submenu)
  File "D:\Odoo13\server\odoo\models.py", line 1519, in fields_view_get
    xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
  File "D:\Odoo13\server\odoo\addons\base\models\ir_ui_view.py", line 964, in postprocess_and_fields
    self.raise_view_error(message, view_id)
  File "D:\Odoo13\server\odoo\addons\base\models\ir_ui_view.py", line 592, in raise_view_error
    raise ValueError(message)
ValueError: Field `responsible_id` does not exist

Error context:
View `n/a`
[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,
If its test db, uninstall your custom app and then install it again and see.

Or, from the views menu, check the view containing responsible_id field and remove it from the view.


Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Razan

Can you tell me when this error occurs from the ui side

Maybe you have not put the base module in the the depends of you custom module in which responsible id is created

Can you share screen shot and tell me briefly

Imagine profil
Abandonează