콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4555 화면

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
26036
0
5월 24
2134
2
5월 24
4042
3
2월 24
3479
2
11월 22
6229