Odoo Help

Yenthe Van Ginneken
On 1/12/19, 3:43 AM

Hi Magen,

Yes, Odoo is able to print multiple reports at once after selecting them from the tree view out of the box. I've just double checked it and it works fine on the official Odoo instances (at runbot.odoo.com).
Are you sure that you're running the right Wkhtmltopdf version, 0.12.5, as suggested in the wiki at https://github.com/odoo/odoo/wiki/Wkhtmltopdf#version-status ? Did you update your Odoo to the latest source code?


I upgraded to 0.12.5 with same results. Upgraded odoo - no difference.

I see that in ir_actions_report.py line 416 passes the arguments to wkhtmltopdf

it generates 1 header html, 1 footer html and x bodies (according to the selected records) Buth then wkhtmltopdf generates only one page pdf.

I tried playing with the arguments ignoring header or footer but same results - only 1 page pdf generated

on 1/13/19, 5:46 AM

it is the <script type="text/javascript" src=""></script> inside the body of the report that causes the problem

Without it works fine. Even if it is an empty file it doesn't work unless I remove the script from the html before passing it on to wkhtmltopdf

This file is being dynamically generated from several js scripts added to web.report_assets_common

on 1/13/19, 6:36 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 1/11/19, 11:09 AM
Seen: 99 times
Last updated: 1/13/19, 5:26 AM