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

Hi everyone,

 

I'm experiencing an issue with PDF report generation in Odoo. In one of my custom reports, the table header/title is overlapping with the table body content, making the report unreadable. 

This seems to happen when the content of the table spans across multiple pages or when there’s limited space on the page.

 

I’ve attached an image below to clearly show the issue.

 

Server Link - https://84480660-17-0-all.runbot254.odoo.com/web#id=391&cids=1&menu_id=935&action=592&active_id=2&model=account.move&view_type=form

I've already checked the QWeb report template and tried adding margins and page breaks, but it didn't help. Has anyone faced a similar issue or know how to fix this?

 

Any help or suggestions would be greatly appreciated!

 

Thanks in advance.

아바타
취소
작성자

@Cybrosys , 

Thanks for sharing these tips! 🙌

I tried all 5 suggestions (including `page-break-inside: avoid;` on both `<tr>` and `<td>`, proper `<thead>` usage, and avoiding nested elements), but unfortunately I'm still running into alignment issues in the PDF output.

The content still splits across pages in some cases, especially with longer descriptions. Is there anything else I might be missing? Appreciate any further guidance!

관련 게시물 답글 화면 활동
2
7월 25
35
1
7월 25
766
2
7월 25
866
1
7월 25
1936
3
4월 25
1957