تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4235 أدوات العرض

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
مايو 24
1736
2
مايو 24
3458
3
فبراير 24
2959
2
نوفمبر 22
5819
2
يوليو 20
24915