Odoo Help


Webkit render error - what could be wrong?

on 5/15/13, 4:01 AM 2,144 views


I have installed base_headers_webkit, invoice_webkit, report_webkit, sale_order_webkit modules, custom webkit invoice module, added system parameter for wkhtmltopdf location, Mako is installed.

I have no idea what could be wrong. Am I missing something? When I click on "Webkit invoice" I am constantly getting:

Webkit render!

Traceback (most recent call last):
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/openerp-7.0_20130514_231031-py2.7.egg/openerp/addons/report_webkit/webkit_report.py", line 278, in create_single_pdf
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/runtime.py", line 783, in _render
**_kwargs_for_callable(callable_, data))
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/runtime.py", line 815, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/runtime.py", line 841, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0xb022eec", line 31, in render_body
<td>${company.partner_id.name |entity}</td>
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/filters.py", line 92, in escape_entities
return str(text).translate(self.codepoint2entity)
TypeError: expected a character buffer object
On 5/15/13, 5:44 AM

Did reinstall on system globally, and no errors any more. The only difference in configuration - installed "account" module, so probably this was the cause.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/15/13, 4:01 AM
Seen: 2144 times
Last updated: 3/16/15, 8:10 AM