After a restart of Odoo13, when I tried to open the Products view (model: product.template) inside of sales or purchase or inventory, I got the error bellow. Although Product Variants page (model: product.product) opens normally.
I've tried updating the following modules (with no luck): base, web, mail, product, sale, sale_management, accounting and purchase.
The stack trace:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 625, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 311, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/home/odoo/src/odoo/odoo/http.py", line 670, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/odoo/odoo/http.py", line 351, 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 340, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 916, in __call__
return self.method(*args, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 516, in response_wrap
response = f(*args, **kw)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1342, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1334, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 386, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 359, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/models.py", line 1478, in load_views
for [v_id, v_type] in views
File "/home/odoo/src/odoo/odoo/models.py", line 1478, in
for [v_id, v_type] in views
File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 411, in fields_view_get
res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
File "/home/odoo/src/odoo/addons/web/models/models.py", line 232, in fields_view_get
r = super().fields_view_get(view_id, view_type, toolbar, submenu)
File "/home/odoo/src/odoo/odoo/models.py", line 1565, in fields_view_get
xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 982, in postprocess_and_fields
fields_def = self.postprocess(model, node, view_id, False, fields)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 912, in postprocess
fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 912, in postprocess
fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 912, in postprocess
fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))
[Previous line repeated 1 more time]
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 835, in postprocess
).postprocess_and_fields(field.comodel_name, f, view_id)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 994, in postprocess_and_fields
self.raise_view_error(message, view_id)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 614, in raise_view_error
raise ValueError(message)
ValueError: Field `sequence` does not exist
Error context:
View `n/a`
[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]