mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-19 23:52:04 +02:00
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.
Changes:
- Add PdfWriter/PdfReader compatibility wrappers in odoo/tools/pdf.py
- Add compatibility classes in odoo/addons/base/models/ir_actions_report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
Resolves PyPDF2.errors.DeprecationError: PdfFileWriter is deprecated
and was removed in PyPDF2 3.0.0.
🤖 assisted by claude
|
||
|---|---|---|
| .. | ||
| addons/base | ||
| cli | ||
| conf | ||
| modules | ||
| osv | ||
| service | ||
| tests | ||
| tools | ||
| upgrade | ||
| __init__.py | ||
| __main__.py | ||
| api.py | ||
| exceptions.py | ||
| fields.py | ||
| http.py | ||
| import_xml.rng | ||
| loglevels.py | ||
| models.py | ||
| netsvc.py | ||
| release.py | ||
| sql_db.py | ||