Odoo Help


Invoice Webkit Report still doesn't work. "Mako Error"

Mohammad Zi
on 8/6/13, 1:43 AM 2,239 views


I have been trying to figure out how webkit works but still can't even run the sample reports.

After I had the error of "partner.address not found" I changed the template recommended by someone in the forum.

Now when I create a test invoice and validate it , By clicking on the print button I receive below error message:

Webkit render! Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/report_webkit/webkit_report.py", line 266, in create_single_pdf **self.parser_instance.localcontext) File "/usr/lib/python2.7/dist-packages/mako/template.py", line 412, in render return runtime._render(self, self.callable_, args, data) File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 767, in _render return context._pop_buffer().getvalue() File "/usr/lib/python2.7/dist-packages/mako/util.py", line 200, in getvalue return self.delim.join(self.data).encode(self.encoding, TypeError: sequence item 142: expected string or Unicode, bool found

I really don't know why it is so complicated to run a test report. I hope to be able to findout how to run this by the help of community.

Do you have any idea what is wrong with this report engine ?

Thank you.

I'm getting the exact same error, except the line numbers are different. Otherwise, the same. Frustrating...

Thinkwell Designs, Dave Burkholder
on 8/6/13, 5:35 PM

I have read this comment in other posts about webkit "Fully compliant with OpenERP, the WebKit report is a revolutionary toolkit allowing OpenERP users to generate clean, sharp and sophisticated PDF reports in a very intuitive way" My experience is not in accordance with this comment. I hope to be able to finally run the test report.

Mohammad Zi
on 8/7/13, 1:42 AM

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: 8/6/13, 1:43 AM
Seen: 2239 times
Last updated: 3/16/15, 8:10 AM