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

Hello,

I am upgrading a module from odoo 10 to odoo 12. It is build by another developer and it works perfectly fine in odoo 10. This module is supposed to generate a PDF report of custom format. It has a custom header and footer. I managed somehow to show its content by calling another layout, but the report wasn't appearing correctly. I am providing a short part of the reports template.

Here is the code:

https://pastebin.com/ctjXq29c


What may be causing the report to appear blank?

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

I found the answer. At the first tag I had to add a layout in order for the content to be displayed

t-call="web.basic_layout"

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to Add images in the pdf reports แก้ไขแล้ว
3
ส.ค. 25
25340
0
พ.ค. 24
1848
2
พ.ค. 24
3624
Sale Order PDF Report แก้ไขแล้ว
3
ก.พ. 24
3104
2
พ.ย. 22
5955