mirror of
https://github.com/bringout/oca-report.git
synced 2026-04-18 07:22:03 +02:00
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.
Changes:
- Add PyPDF2 compatibility classes in report_qweb_pdf_watermark/models/report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Support for addBlankPage method and PdfReadError import location
Resolves PyPDF2.errors.DeprecationError: addBlankPage is deprecated
and was removed in PyPDF2 3.0.0. Use add_blank_page instead.
🤖 assisted by claude
|
||
|---|---|---|
| .. | ||
| ARCHITECTURE.md | ||
| CONFIGURATION.md | ||
| CONTROLLERS.md | ||
| DEPENDENCIES.md | ||
| FAQ.md | ||
| INSTALL.md | ||
| MODELS.md | ||
| OVERVIEW.md | ||
| PATCH_PDFWRITER.md | ||
| REPORTS.md | ||
| SECURITY.md | ||
| TROUBLESHOOTING.md | ||
| USAGE.md | ||
| WIZARDS.md | ||