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

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



อวตาร
ละทิ้ง

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

ผู้เขียน

Yes, wkhtmltopdf 0.12.6 is installed

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

send screenshot for more clarification.

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

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.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง

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

ผู้เขียน

tried many times but no change

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 21
2431
1
พ.ค. 18
3597
2
ม.ค. 17
6732
Reports not auto-saved to attachments แก้ไขแล้ว
3
มี.ค. 15
7447
3
มี.ค. 25
1140