Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4624 มุมมอง

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)

อวตาร
ละทิ้ง
ผู้เขียน

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"

ผู้เขียน

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

คำตอบที่ดีที่สุด

HI,

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
2026
1
มี.ค. 25
2129
1
พ.ค. 24
3092
Wkhtmltopdf not found on the sysem แก้ไขแล้ว
2
ก.พ. 24
3819
0
มิ.ย. 22
2731