Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4221 Weergaven

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?

Avatar
Annuleer
Auteur Beste antwoord

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"

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mei 24
1728
2
mei 24
3431
3
feb. 24
2945
2
nov. 22
5795
2
jul. 20
24892