Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have been creating some labels in pdf with Odoo 8. Sadly it's a very slow process; when I create 150 labels it takes about 1 minute to compute the PDF file (html file goes significantly faster 2-3 seconds). I think the cause of this slowness is the interaction between Qweb and wkhtmltopdf? Does anyone know a workaround to make this much faster?
My report code is the following:
<t t-foreach="docs" t-as="doc">
<t t-foreach="doc.number_items" t-as="i">
<p>date : <span t-field="doc.picking_date"/></p>
PS: Note that my solution is currently working on Django and I am trying to port it to OpenERP to get it integrating with the OpenERP apps. With Django I was using reportlab (canvas from reportlab.pdfgen) and it went much faster to generate the pdf (less than a second). If i can't get it anyfaster with Qweb would it be a good solution to import reportlab and use this?
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/3/14, 5:23 PM|
|Seen: 6225 times|
|Last updated: 3/16/15, 8:10 AM|