Skip to content

[fork-CI] [19.0][MIG] report_qweb_pdf_cover: Migration to 19.0#1

Draft
dnplkndll wants to merge 14 commits into
19.0from
19.0-mig-report_qweb_pdf_cover
Draft

[fork-CI] [19.0][MIG] report_qweb_pdf_cover: Migration to 19.0#1
dnplkndll wants to merge 14 commits into
19.0from
19.0-mig-report_qweb_pdf_cover

Conversation

@dnplkndll
Copy link
Copy Markdown

Port of report_qweb_pdf_cover from 18.0 to 19.0. Follows the OCA migration guide.

Non-mechanical adaptations worth flagging

  • PdfFileReader/PdfFileWriter are now imported from odoo.tools.pdf instead of the unmaintained PyPDF2 package. This matches Odoo core and the sibling pdf_xml_attachment module on 19.0, and drops the third-party dependency the module relied on without declaring it. The PyPDF2-compat aliases in odoo.tools.pdf are drop-in, so the cover-merge logic is otherwise unchanged.

LauraCForgeFlow and others added 14 commits May 29, 2026 18:30
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-16.0/reporting-engine-16.0-report_qweb_pdf_cover
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_qweb_pdf_cover/
Currently translated at 100.0% (21 of 21 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_qweb_pdf_cover
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_qweb_pdf_cover/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-18.0/reporting-engine-18.0-report_qweb_pdf_cover
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_qweb_pdf_cover/
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
- Import PdfFileReader/PdfFileWriter from odoo.tools.pdf instead of the
  unmaintained PyPDF2 package — matches Odoo core and the sibling
  pdf_xml_attachment module, and drops the previously-undeclared
  third-party dependency.

Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants