跳至内容
菜单
此问题已终结
1 回复
4229 查看

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"

形象
丢弃
相关帖文 回复 查看 活动
0
5月 24
1732
2
5月 24
3449
3
2月 24
2954
2
11月 22
5807
2
7月 20
24901