Community mailing list archives

Re: QWeb header/footer error with 'big' reports

Willow IT, Jon Wilson
- 02/20/2015 05:08:39

We have the same problem and done quite a bit of research. It's a bug in wkhtmltopdf and has been reported on that projects site. It really makes it impossible to write professional multi page reports. Many of our customers have refused to use the invoices etc written using qweb so we nearly always use Pentaho to get the result. Actually I'm surprised it hasn't been solved because it is such a basic requirement. If anyone has any more information we would love to know also.

Jon Wilson

On 20 Feb 2015 01:02, <> wrote:
Hi all,

We have a problem regarding the page number printed on QWeb reports which have more than 8 pages. We found the problem on a custom report but it's easy to reproduce it on a standard report.

Create an invoice with around 200 lines and print the standard invoice report. You will have around 8 pages, footer won't appear on the first page.
Add then 40 lines more, the footer will start to appear only on the 4th page.
The problem is not only with the footer, the header can have this problem too. Sometimes the header appears on the first pages and then disappears for few pages to appear again.

Odoo version: 8.0
Wkhtmltopdf version: 12.0 and 12.1 patched qt. Same behaviour.

Does anybody has already faced and solved that  problem ?

Best regards,

Post to: