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

Odoo Server Error

Traceback (most recent call last):

File "/home/usuario/Software/odoo/addons/report/controllers/main.py", line 101, in report_download

response = self.report_routes(reportname, docids=docids, converter='pdf')

File "/home/usuario/Software/odoo/openerp/http.py", line 465, in response_wrap

response = f(*args, **kw)

File "/home/usuario/Software/odoo/addons/report/controllers/main.py", line 45, in report_routes

pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=data, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/addons/report/models/report.py", line 156, in get_pdf

html = self.get_html(cr, uid, ids, report_name, data=data, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/addons/report/models/report.py", line 130, in get_html

return self.render(cr, uid, [], report.report_name, docargs, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/addons/report/models/report.py", line 106, in render

return view_obj.render(cr, uid, template, values, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/addons/website/models/ir_ui_view.py", line 141, in render

return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/addons/web_editor/models/ir_ui_view.py", line 29, in render

return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1065, in render

return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 253, in render

return self.render_node(element, qwebcontext, generated_attributes=qwebcontext.pop('generated_attributes', ''))

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 296, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 319, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 447, in render_tag_call

d[0] = self.render_element(element, template_attributes, generated_attributes, d)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 319, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 425, in render_tag_foreach

ru.append(self.render_element(element, template_attributes, generated_attributes, copy_qwebcontext))

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element

raise_qweb_exception(message="Could not render element %r" % element.tag, node=element, template=template)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 319, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 294, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 458, in render_tag_call

res = self.render(cr, uid, template, d)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 251, in render

element = self.get_template(id_or_xml_id, qwebcontext)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_qweb.py", line 171, in get_template

document = qwebcontext.loader(name)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1063, in loader

return self.read_template(cr, uid, name, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_ui_view.py", line 938, in read_template

return self._read_template(cr, uid, view_id, context=context)

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in _read_template

File "/home/usuario/Software/odoo/openerp/tools/cache.py", line 85, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_ui_view.py", line 923, in _read_template

arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']

File "/home/usuario/Software/odoo/openerp/api.py", line 232, in wrapper

return old_api(self, *args, **kwargs)

File "/home/usuario/Software/odoo/openerp/addons/base/ir/ir_ui_view.py", line 635, in read_combined

view_arch = etree.fromstring(view['arch'].encode('utf-8'))

File "lxml.etree.pyx", line 3103, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70569)

File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106403)

File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105194)

File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99876)

File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94350)

File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95786)

File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94853)

QWebException: Entity 'oacute' not defined, line 25, column 46



Avatar
Discard
Author

Error is produced by invoice view Spanish translation. Accents are wrong! Solved without accents.

Best Answer

Activate the developer mode > Settings > Translations > Applications Terms > Translated Terms and search for the Translation Value oacute only change the words for no accent word or for the direct spanish translation with accent.

Avatar
Discard
Related Posts Replies Views Activity
4
Jun 24
598
2
Mar 24
758
0
Nov 22
1547
1
Oct 20
2762
6
Jun 19
6148