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

We restarted our Odoo 11 and immediately after this everything res.partner related views do not work anymore.

We get error "ValueError: Field `sequence` does not exist".

I've checked the views and they do not contain any 'sequence' values. What am I missing and any idea how to fix?

Thanks!


Full trace below.

Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/http.py", line 651, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo/odoo/odoo/http.py", line 693, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 937, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 934, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 687, in call_kw
return call_kw_model(method, model, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 672, in call_kw_model
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo/odoo/models.py", line 1296, in load_views
for [v_id, v_type] in views
File "/opt/odoo/odoo/odoo/models.py", line 1296, in <dictcomp>
for [v_id, v_type] in views
File "/opt/odoo/odoo/addons/mail/models/mail_thread.py", line 374, 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/odoo/odoo/odoo/models.py", line 1382, in fields_view_get
xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
File "/opt/odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 1064, in postprocess_and_fields
self.raise_view_error(message, view_id)
File "/opt/odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 519, in raise_view_error
raise ValueError(message)
ValueError: Field `sequence` does not exist

Error context:
View `res.partner.form`
[view_id: 112, xml_id: base.view_partner_form, model: res.partner, parent_id: n/a]

Avatar
Discard
Best Answer

There must be sequence fields defined in any module which is not updated. You need to just check that module name and upgrade it. It will work fine.

Avatar
Discard