mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-18 04:52:06 +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 snailmail/models/snailmail_letter.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Support for addPage, appendPagesFromReader, and getPage methods
Resolves PyPDF2.errors.DeprecationError: PdfFileWriter is deprecated
and was removed in PyPDF2 3.0.0.
🤖 assisted by claude
|
||
|---|---|---|
| .. | ||
| data | ||
| i18n | ||
| models | ||
| security | ||
| static | ||
| tests | ||
| views | ||
| wizard | ||
| __init__.py | ||
| __manifest__.py | ||
| country_utils.py | ||