mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 23:12:02 +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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ir_actions_report.py | ||
| mail_message.py | ||
| mail_notification.py | ||
| mail_thread.py | ||
| res_company.py | ||
| res_config_settings.py | ||
| res_partner.py | ||
| snailmail_letter.py | ||