Skip to Content
Menu
This question has been flagged
1 Reply
1519 Views

Hi, I had to reconfigure the ubuntu 18.04 server with Odoo 12 CE but restoring the last backup I had I immediately found this error trying to enter Sales from the menu. I tried to install some addons that I remembered I could have installed, but I can't solve ... I thank in advance who could give me a hand. Ad majora.


Errore:
 Server Error

Traceback (most recent call last):
  File "/opt/odoo12/odoo/odoo/http.py", line 656, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo12/odoo/odoo/http.py", line 314, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo12/odoo/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/odoo12/odoo/odoo/http.py", line 698, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo12/odoo/odoo/http.py", line 346, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo12/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo12/odoo/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo12/odoo/odoo/http.py", line 941, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo12/odoo/odoo/http.py", line 519, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo12/odoo/addons/web/controllers/main.py", line 962, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/odoo12/odoo/addons/web/controllers/main.py", line 954, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo12/odoo/odoo/api.py", line 755, in call_kw
    return _call_kw_model(method, model, args, kwargs)
  File "/opt/odoo12/odoo/odoo/api.py", line 728, in _call_kw_model
    result = method(recs, *args, **kwargs)
  File "/opt/odoo12/odoo/odoo/models.py", line 1385, in load_views
    for [v_id, v_type] in views
  File "/opt/odoo12/odoo/odoo/models.py", line 1385, in <dictcomp>
    for [v_id, v_type] in views
  File "/opt/odoo12/odoo/addons/mail/models/mail_thread.py", line 409, in fields_view_get
    res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
  File "/opt/odoo12/odoo/odoo/models.py", line 1471, in fields_view_get
    xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 1099, in postprocess_and_fields
    fields_def = self.postprocess(model, node, view_id, False, fields)
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 924, in postprocess
    fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 924, in postprocess
    fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 924, in postprocess
    fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))
  [Previous line repeated 1 more time]
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 884, in postprocess
    ).postprocess_and_fields(field.comodel_name, f, view_id)
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 1111, in postprocess_and_fields
    self.raise_view_error(message, view_id)
  File "/opt/odoo12/odoo/odoo/addons/base/models/ir_ui_view.py", line 548, in raise_view_error
    raise ValueError(message)
ValueError: Il campo `partner_is_customer` non esiste

Contesto errore:
Vista `n/d`
[view_id: n/d, xml_id: n/d, model: n/d, parent_id: n/d]

Avatar
Discard
Best Answer

Hi, Giancarlo


As per the above log it seems this field "partner_is_customer" belongs to the third party extension.

So in order to fix this issue. You need to follow below steps,

  • First you need to restart your Odoo server.

    Then upgrade module which contains this field "partner_is_customer"

After following above steps if you still have the same issue then please let me know.


Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited

Avatar
Discard