oca-ocb-core/odoo-bringout-oca-ocb-base/odoo/tools
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
..
_vendor Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
data/files Initial commit: Core packages 2025-08-29 15:20:45 +02:00
zeep 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
_monkeypatches.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
_monkeypatches_pytz.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
_monkeypatches_urls.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
appdirs.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
barcode.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
cache.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
cloc.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
config.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
convert.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
date_utils.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
facade.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
float_utils.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
func.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
geoipresolver.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
image.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
js_transpiler.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
json.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
lru.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
mail.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
mimetypes.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
misc.py Fix _NamespacePath concatenation error in file_path function 2025-10-16 16:51:35 +02:00
num2words_patch.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
osutil.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
parse_version.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
pdf.py Enhance PyPDF2 3.x compatibility with comprehensive monkey-patching 2025-11-08 13:49:21 +01:00
populate.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
profiler.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
pycompat.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
query.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
rendering_tools.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
safe_eval.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
sourcemap_generator.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
speedscope.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
sql.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
template_inheritance.py 16.0 vanila 2025-10-03 17:53:49 +02:00
test_reports.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
translate.py 16.0 vanila 2025-10-03 17:53:49 +02:00
view_validation.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
which.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
win32.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
xml_utils.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00