Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4372 Vistas

I am using Odoo version 12 (2019/11/11). And wkhtmltopdf was 12.4 but i changed it to 12.5 now if I create a new database the reports are rendered correctly but using a database installed before correcting wkhtmltopdf version gives an incorrectly rendered report.

I am using demo data from sales module (SO006) to show the error.

See Image here [\https://imgur.com/a/DvZd1Ar] (on the left is the incorrect old database report, on the right the correct newly created database-report)

Avatar
Descartar
Autor

You are correct. The report headers where not the same height because one company had the street 2 field set. I changed the "Header spacing" for the A4 paper format from 35 to 40 and it rendered fine :) thanks. I thought the spacing was automatically done with css or something, shame that it is "hard coded"

Autor

Please change your comment to an answer so I can mark this as answered

Mejor respuesta

HI,

The issue seems to be only overlapping of the header, just adjust the paper format it will be fine. 

Avatar
Descartar
Mejor respuesta

i too face the same issue now, by adjusting page format for A4 (Header Spacing) i can fix the header issue, its get rendered.

Thank you guys

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
1693
1
mar 25
1789
1
may 24
2739
2
feb 24
3632
0
jun 22
2554