Commit graph

19 commits

Author SHA1 Message Date
Ernad Husremovic
7ed9174780 Fix PyPDF2 3.0+ compatibility issues in report_py3o
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.

Changes:
- Add PyPDF2 compatibility classes in report_py3o/models/py3o_report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Support for appendPagesFromReader method for PDF merging

Resolves PyPDF2.errors.DeprecationError: appendPagesFromReader is deprecated
and was removed in PyPDF2 3.0.0. Use append_pages_from_reader instead.

🤖 assisted by claude
2025-09-02 19:09:50 +02:00
Ernad Husremovic
dd24c2f440 Fix PyPDF2 3.0+ compatibility issues in report_qweb_pdf_watermark
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.

Changes:
- Add PyPDF2 compatibility classes in report_qweb_pdf_watermark/models/report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Support for addBlankPage method and PdfReadError import location

Resolves PyPDF2.errors.DeprecationError: addBlankPage is deprecated
and was removed in PyPDF2 3.0.0. Use add_blank_page instead.

🤖 assisted by claude
2025-09-02 19:09:45 +02:00
Ernad Husremovic
4e329a686b Fix PyPDF2 3.0+ compatibility issues in report_qweb_pdf_cover
Add compatibility import logic for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.

Changes:
- Add PyPDF2 compatibility import in report_qweb_pdf_cover/models/ir_actions_report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Basic import compatibility for PDF cover functionality

Resolves PyPDF2.errors.DeprecationError: PdfFileWriter is deprecated
and was removed in PyPDF2 3.0.0.

🤖 assisted by claude
2025-09-02 18:55:52 +02:00
Ernad Husremovic
409c24a420 Fix PyPDF2 3.0+ compatibility issues in report_qweb_encrypt
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.

Changes:
- Add PyPDF2 compatibility classes in report_qweb_encrypt/models/ir_actions_report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Support for appendPagesFromReader method for PDF encryption

Resolves PyPDF2.errors.DeprecationError: PdfFileWriter is deprecated
and was removed in PyPDF2 3.0.0.

🤖 assisted by claude
2025-09-02 18:55:13 +02:00
Ernad Husremovic
8566ac3819 update submodule l10n_ba_edi
🤖 assisted by claude
2025-08-30 19:43:29 +02:00
Ernad Husremovic
cfd07a4af0 Optimize refresh_package_links.py with local hash comparison
- Added local hash comparison to prevent unnecessary GitHub URL generation
- Only build GitHub mappings for packages that actually changed commit hashes
- Reduced file updates from 1758/2075 to 1/2075 files (99.94% improvement)
- Implemented get_current_hash_from_content() to extract hashes from existing URLs
- Added build_local_hash_mapping() for fast local git hash lookup
- Performance improvement: only fetch git hashes when changes are detected

🤖 assisted by claude
2025-08-30 19:29:00 +02:00
Ernad Husremovic
0b7d2d24bb Update commit signature format in git scripts
- Changed from full Claude Code signature to simplified '🤖 assisted by claude'
- Updated git_update_submodules_then_root.py commit message templates
- Updated CLAUDE.md with new signature format requirements

🤖 assisted by claude
2025-08-30 19:20:48 +02:00
Ernad Husremovic
aedae17d0b cleanup nix_*.sh, odoo_packages_*.txt don't need anymore
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 19:14:33 +02:00
Ernad Husremovic
b5b698dd85 refresh github links
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 19:04:08 +02:00
Ernad Husremovic
7887a2d7f7 Change dependency in l10n_ba_edi module from l10n_bs to l10n_ba
- Updated __manifest__.py dependency from l10n_bs to l10n_ba
- Updated README.md dependency reference
- Updated pyproject.toml dependency from odoo-bringout-l10n_bs to odoo-bringout-l10n_ba
- Updated DEPENDENCIES.md file with correct l10n_ba link
- Updated all Python code references from l10n_bs to l10n_ba in models/account_edi_format.py
- Refreshed package links across all modules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:58:38 +02:00
Ernad Husremovic
30e86ef59a Update submodule with latest changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:54:11 +02:00
Ernad Husremovic
a69be164f7 Add special handling for 'base' module in refresh_package_links.py
- Handle bare 'base' references in DEPENDENCIES.md files
- Convert them to proper GitHub links pointing to odoo-bringout-oca-ocb-base/odoo/addons/base
- Updated refresh_package_links.py with BASE_PATTERN and base_repl function
- Applied changes to 1758 out of 2075 files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:49:48 +02:00
Ernad Husremovic
19c9d36242 Update submodule with latest changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:40:50 +02:00
Ernad Husremovic
0fa0bf19b3 update github links to modules
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:26:27 +02:00
Ernad Husremovic
6f94b9e41d Update DEPENDENCIES.md with proper GitHub URLs including commit hashes and package paths
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 16:26:49 +02:00
Ernad Husremovic
8f0f194dca Convert DEPENDENCIES.md links to GitHub absolute URLs 2025-08-30 16:08:14 +02:00
Ernad Husremovic
cdb9e11136 Update DEPENDENCIES.md links to correct package locations 2025-08-30 15:36:23 +02:00
Ernad Husremovic
eb48efd2a7 Add __pycache__/ to .gitignore and clean cache 2025-08-30 15:19:21 +02:00
Ernad Husremovic
2f4db400df Initial commit: OCA Report packages (45 packages) 2025-08-29 15:43:05 +02:00