[ADD] stock_picking: Repeat fields on Picking Operations Report PDF#1314
Draft
ripil-odoo wants to merge 1 commit into
Draft
[ADD] stock_picking: Repeat fields on Picking Operations Report PDF#1314ripil-odoo wants to merge 1 commit into
ripil-odoo wants to merge 1 commit into
Conversation
Ensure original header fields are consistently visible across multiple pages of the Picking Operations PDF report when the table extends to a new page by using <thead> tags.
3c7c961 to
965bb43
Compare
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.

Purpose
The task requested that specific header fields remain visible on subsequent pages when a Picking Operations PDF report spans multiple pages. Currently, these details are only visible on the first page when the table extends to the next page.
Changes Made
stock.report_picking.o_stock_report_header_rowelements into a<tr>inside the table header (<thead>).wkhtmltopdfbehavior, placing this data inside the<thead>forces the browser engine to repeat the header fields automatically on every new page break.Technical Details
Model:
stock.pickingCustom Template:
report_stockpicking_operations_inheritedWhy
wkhtmltopdfrepeats any content wrapped inside a<thead>tag at the top of every new page when a table overflows. Moving the data here solves the client's request using standard HTML behavior without the need for complex custom logic.Verification Steps