mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-18 03:52:04 +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
|
||
|---|---|---|
| .. | ||
| doc | ||
| snailmail | ||
| pyproject.toml | ||
| README.md | ||
Snail Mail
Allows users to send documents by post
Installation
pip install odoo-bringout-oca-ocb-snailmail
Dependencies
This addon depends on:
- iap_mail
Manifest Information
- Name: Snail Mail
- Version: 0.4
- Category: Hidden/Tools
- License: LGPL-3
- Installable: False
Source
Based on OCA/OCB branch 16.0, addon snailmail.
License
This package maintains the original LGPL-3 license from the upstream Odoo project.
Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Reports: doc/REPORTS.md
- Security: doc/SECURITY.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md