コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4307 ビュー

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"

アバター
破棄
関連投稿 返信 ビュー 活動
3
8月 25
25175
0
5月 24
1809
2
5月 24
3554
3
2月 24
3036
2
11月 22
5898