oca-ocb-core/odoo-bringout-oca-ocb-base/odoo
Ernad Husremovic 81050e9b17 Enhance PyPDF2 3.x compatibility with comprehensive monkey-patching
- Add force-override monkey-patches for deprecated methods (getObject, getData) in both PyPDF2.generic._base and PyPDF2.generic modules
- Create DecodedStreamObject wrapper for setData/getData compatibility
- Add explicit page copying after cloneReaderDocumentRoot in tests to fix empty PDF issue
- Update documentation with monkey-patching approach, troubleshooting guide, and test results
- Apply patches at module level in both pdf.py and ir_actions_report.py
- All PyPDF2 deprecation errors now resolved for PDF generation and attachment workflows

🤖 assisted by claude

🤖 assisted by claude
2025-11-08 13:49:21 +01:00
..
addons/base Enhance PyPDF2 3.x compatibility with comprehensive monkey-patching 2025-11-08 13:49:21 +01:00
cli Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
conf Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
modules Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
osv Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
service Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
tests 16.0 vanila 2025-10-03 17:53:49 +02:00
tools Enhance PyPDF2 3.x compatibility with comprehensive monkey-patching 2025-11-08 13:49:21 +01:00
upgrade Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
__init__.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
__main__.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
api.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
exceptions.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
fields.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
http.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
import_xml.rng Initial commit: Core packages 2025-08-29 15:20:45 +02:00
loglevels.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
models.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
netsvc.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
release.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
sql_db.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00