← Back to team overview

openerp-community team mailing list archive

Re: report_webkit future

 

Nicolas,

I can't see how you can compare wkhtmltopdf and qweb ?
Wouldn't it make more sense to compare jinja2 with qweb ?

I can see some benefit in using qweb to generate the underlying html since
it would allow inheritance for report generation (stacking multiple reports
on top of the same base templates) and reducing the number of templating
languages to learn while developing with OpenERP.
But in the end if you want to print to pdf you will have to either use
wkhtmltopdf or the browser's own ability to convert html to paginated
format/layout and save or print the output.

Currently though I'm not sure if qweb is used for generating the screen
layout when you do a print (preview) from the browser. Most of the layout
there is defined by the regular model view afaik.

Regards,
Niels

Follow ups

References