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

My database was expired and i renewed after 1 day after expiration,but after that  my all PDF reports are entirely differ from initial format.how it solve? i configured web.base.url and report.url correctly but still issue was not resolved



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

Did you tried with wkhtmltopdf 0.12.5 ? also see this thread https://github.com/odoo/odoo/issues/171463

Tác giả

Yes, wkhtmltopdf 0.12.6 is installed

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

send screenshot for more clarification.

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

I resolved this issue by regenerating the asset bundle. Initially, I tried adding the following system parameters:

report.url = "http://localhost:8069" 

report.url.freeze = True 


However, this did not fix the alignment problem.

To regenerate the asset bundle:

  1. Activate Developer Mode.
  2. Click on the bug icon in the top-right corner.
  3. Select Regenerate Asset Bundles.

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

this is screenshot for the current alignment for sale report, there is no header and footer, no table etc

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

ok try to restart odoo server or upgrade base model it will be solved

Tác giả

tried many times but no change

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 21
2449
1
thg 5 18
3607
2
thg 1 17
6756
3
thg 3 15
7482
3
thg 3 25
1146