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

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?

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

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"

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 25
25168
0
thg 5 24
1808
2
thg 5 24
3549
3
thg 2 24
3035
2
thg 11 22
5893