[16.0][FIX] budget_appropriation_summary: repeat page label on every PDF page#773
Open
n3n wants to merge 3 commits into
Open
[16.0][FIX] budget_appropriation_summary: repeat page label on every PDF page#773n3n wants to merge 3 commits into
n3n wants to merge 3 commits into
Conversation
When printing the master summary via "พิมพ์ PDF", the top-right page label only showed on the first page of each sub-report because the positioned label is in the body and wkhtmltopdf does not repeat fixed-positioned elements per page. Emit a sibling `<div class="header">` that Odoo's `_prepare_html` extracts into `--header-html`, so the label now repeats on every PDF page. Hidden on screen to preserve the existing HTML preview / browser print behavior.
45cbac7 to
511a9f5
Compare
Collaborator
|
Test ทั้ง 3 เคสแล้วผ่านหมดครับ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
เคสที่ 1 — "พิมพ์ PDF" จาก master.summary (เคสที่ buggy)
เคสที่ 2 — Portal HTML print (ต้องไม่ regress)
เคสที่ 3 — HTML preview บนหน้าจอ (ต้องไม่ regress)