oca-ocb-core/odoo-bringout-oca-ocb-snailmail
Ernad Husremovic 33b8eb73c9 Fix PyPDF2 3.0+ compatibility issues in snailmail
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
2025-09-02 18:54:39 +02:00
..
doc Fix PyPDF2 3.0+ compatibility issues in snailmail 2025-09-02 18:54:39 +02:00
snailmail Fix PyPDF2 3.0+ compatibility issues in snailmail 2025-09-02 18:54:39 +02:00
pyproject.toml Initial commit: Core packages 2025-08-29 15:20:45 +02:00
README.md Initial commit: Core packages 2025-08-29 15:20:45 +02:00

Snail Mail

Allows users to send documents by post

Installation

pip install odoo-bringout-oca-ocb-snailmail

Dependencies

This addon depends on:

  • iap_mail
  • 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