Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Error context: View `sale.order.form`

By
Alex Gallien
on 10/14/16, 1:39 PM 267 views

Hi,


In Odoo8 I am receiving this error:

Odoo Server ErrorTraceback (most recent call last):

  File "/opt/odoo/openerp/http.py", line 539, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/openerp/http.py", line 576, in dispatch result = self._call_function(**self.params) File "/opt/odoo/openerp/http.py", line 312, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/openerp/http.py", line 309, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo/openerp/http.py", line 805, in __call__ return self.method(*args, **kw) File "/opt/odoo/openerp/http.py", line 405, in response_wrap response = f(*args, **kw) File "/opt/odoo/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/addons/mail/mail_thread.py", line 348, in fields_view_get res = super(mail_thread, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/models.py", line 1545, in fields_view_get xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 811, in postprocess_and_fields fields_def = self.postprocess(cr, user, model, node, view_id, False, fields, context=context) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 721, in postprocess fields.update(self.postprocess(cr, user, model, f, view_id, in_tree_view, model_fields, context)) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 721, in postprocess fields.update(self.postprocess(cr, user, model, f, view_id, in_tree_view, model_fields, context)) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 721, in postprocess fields.update(self.postprocess(cr, user, model, f, view_id, in_tree_view, model_fields, context)) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 721, in postprocess fields.update(self.postprocess(cr, user, model, f, view_id, in_tree_view, model_fields, context)) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 648, in postprocess xarch, xfields = self.postprocess_and_fields(cr, user, field.comodel_name, f, view_id, ctx) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 837, in postprocess_and_fields self.raise_view_error(cr, user, message, view_id, context) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 360, in raise_view_error raise AttributeError(message)AttributeError: Field `line_comment` does not exist

Error context:

View `sale.order.form`[view_id: 575, xml_id: sale.view_order_form, model: sale.order, parent_id: n/a]



What does this mean and how do I resolve it? As far as I know, I have not changed anything. I duplicated a Routing for a Bill of Material. I did not modify any source files.


Thank you

0
Alex Gallien
On 10/14/16, 2:36 PM

Problem was solved by restarting the Machine.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/14/16, 1:39 PM
Seen: 267 times
Last updated: 10/14/16, 2:59 PM