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

500: Internal Server Error [Closed]

By
August Doo
on 8/13/14, 12:11 AM 993 views

The Question has been closed for reason: off-topic or not relevant

by
Fabien Pinckaers (fp)
on 08/13/2014 01:33:54

Hi, the website from Odoo V8 is down due the msg below. What's wrong with this? Help! Help!

 

 

Error message:

"fiscal_position" while evaluating 'website.sale_get_order()'

 

QWeb

Error message:

Could not evaluate expression 'website.sale_get_order()'

 

The error occured while rendering the template website.layout and evaluating the following expression: website.sale_get_order()

 

Traceback (most recent call last): File "/opt/odoo/addons/website/models/ir_http.py", line 180, in _handle_exception response = super(ir_http, self)._handle_exception(exception) File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 104, in _handle_exception return request._handle_exception(exception) File "/opt/odoo/openerp/http.py", line 558, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo/openerp/http.py", line 1246, in get_response result.flatten() File "/opt/odoo/openerp/http.py", line 1119, in flatten self.response.append(self.render()) File "/opt/odoo/openerp/http.py", line 1114, in render context=request.context) File "/opt/odoo/openerp/api.py", line 204, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/addons/website/models/ir_ui_view.py", line 170, in render return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context) File "/opt/odoo/openerp/api.py", line 204, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1018, in render return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context) File "/opt/odoo/openerp/api.py", line 204, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 243, in render return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 283, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 410, in render_tag_call return self.render(cr, uid, template, d) File "/opt/odoo/openerp/api.py", line 204, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 243, in render return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 306, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 283, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 429, in render_tag_set qwebcontext[template_attributes["set"]] = self.eval_object(template_attributes["value"], qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 199, in eval_object return self.eval(expr, qwebcontext) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 196, in eval raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 193, in eval return qwebcontext.safe_eval(expr) File "/opt/odoo/openerp/addons/base/ir/ir_qweb.py", line 76, in safe_eval return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True) File "/opt/odoo/openerp/tools/safe_eval.py", line 311, in safe_eval return eval(c, globals_dict, locals_dict) File "", line 1, in <module> File "/opt/odoo/openerp/api.py", line 202, in wrapper return new_api(self, *args, **kwargs) File "/opt/odoo/openerp/api.py", line 517, in new_api result = method(self._model, cr, uid, self.ids, *args, **kwargs) File "/opt/odoo/addons/website_sale/models/sale_order.py", line 181, in sale_get_order values['fiscal_position'], [[6, 0, order_lines]], context=context)['value']) QWebException: "fiscal_position" while evaluating 'website.sale_get_order()'

I closed your question. Please report bug on github, not in this q&a. You can check our guidelines for this q&a site on the right toolbar.

Fabien Pinckaers (fp)
on 8/13/14, 1:35 AM

About This Community

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

Question tools

2 follower(s)

Stats

Asked: 8/13/14, 12:11 AM
Seen: 993 times
Last updated: 3/16/15, 8:10 AM