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

Hi everyone,


I developed a module in Odoo 16 (community edition) on Windows that is functioning properly. However, after transferring the module to a new Linux server (Ubuntu 22.04) with Odoo 16 (community edition), everything worked as expected except for the generation of PDF reports. The issue lies in the missing header and footer in the reports. I utilize `web.html_layout` to print company information in the header.


The same issue persisted even when I removed my custom module and attempted to print in the sale modules.


I have undertaken the following actions without yielding any results:

- Using `

` in the HTML layout.

- Removing and reinstalling the `wkhtmltopdf`. (version 0.12.6)

- Testing on another VPS.


any one can help me regarding this issue?

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

Hi Dear Nikhil

many thanks for your advice, after creating report.url in system parameters with 127.0.0.0:8069 the report printed in raw text format without any layout so I removed the report.url and after that the problem solved starngly and report printed both header and footer.

Ảnh đại diện
Huỷ bỏ

okay welcome Ehsan

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

Hi Ehsan,

Try this way,

https://www.odoo.com/forum/help-1/missing-headers-and-footers-in-reports-60830

Thanks.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 24
1733
2
thg 5 24
3451
3
thg 2 24
2955
2
thg 11 22
5812
0
thg 4 24
1668