Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4572 Lượt xem

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)

Ảnh đại diện
Huỷ bỏ
Tác giả

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"

Tác giả

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

Câu trả lời hay nhất

HI,

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 25
1949
1
thg 3 25
2080
1
thg 5 24
3008
2
thg 2 24
3767
0
thg 6 22
2701