Commit graph

23 commits

Author SHA1 Message Date
Ernad Husremovic
956889352c fix PyPDF2 3.x page copying + rename documentation
- Added explicit page copying after cloneReaderDocumentRoot() calls
- Renamed PATCH_PDFWRITER.md to PATCH_PYPDF2_PDFWRITER.md
- Prevents 327-byte empty PDFs in PyPDF2 3.x

🤖 assisted by claude
2025-09-02 19:31:37 +02:00
Ernad Husremovic
715f5d72f9 rename PATCH_PDFWRITER.md to PATCH_PYPDF2_PDFWRITER.md
🤖 assisted by claude
2025-09-02 19:31:24 +02:00
Ernad Husremovic
3f19943cec fix PyPDF2 3.x page copying issue - prevent 327-byte empty PDFs
Added explicit page copying after cloneReaderDocumentRoot() calls because
PyPDF2 3.x only copies document structure, not content pages.

🤖 assisted by claude
2025-09-02 19:31:11 +02:00
Ernad Husremovic
c3d53c6a4d Add cloneReaderDocumentRoot compatibility method
Fix additional PyPDF2 3.0+ deprecation error for cloneReaderDocumentRoot
method which was replaced with clone_reader_document_root.

Changes:
- Add cloneReaderDocumentRoot compatibility method to PdfFileWriter wrapper
- Update documentation to include the new method mapping
- Resolves account_edi PDF generation error

Resolves PyPDF2.errors.DeprecationError: cloneReaderDocumentRoot is deprecated
and was removed in PyPDF2 3.0.0. Use clone_reader_document_root instead.

🤖 assisted by claude
2025-09-02 19:00:48 +02:00
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
Ernad Husremovic
e8119c9226 Fix PyPDF2 3.0+ compatibility issues
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.

Changes:
- Add PdfWriter/PdfReader compatibility wrappers in odoo/tools/pdf.py
- Add compatibility classes in odoo/addons/base/models/ir_actions_report.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md

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

🤖 assisted by claude
2025-09-02 18:47:52 +02:00
Ernad Husremovic
2483097b1b update submodule l10n_ba_edi
🤖 assisted by claude
2025-08-30 19:42:51 +02:00
Ernad Husremovic
5d1ce43101 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:28:20 +02:00
Ernad Husremovic
9d67cf00c0 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:06 +02:00
Ernad Husremovic
156bd325ef 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:13:49 +02:00
Ernad Husremovic
680f309d65 refresh github links
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 19:03:28 +02:00
Ernad Husremovic
3269462e6a 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:57:57 +02:00
Ernad Husremovic
b8a76bf74d Update submodule with latest changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:53:30 +02:00
Ernad Husremovic
11a704b400 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:06 +02:00
Ernad Husremovic
e9ca19c0c1 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:08 +02:00
Ernad Husremovic
0e11bee18c update github links to modules
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:25:48 +02:00
Ernad Husremovic
5ee733c06c Fix mermaid cycle error: rename CLI node to CLIEP to avoid conflict with subgraph name
The diagram had a cycle where node 'CLI' was inside subgraph 'CLI', creating:
'Setting CLI as parent of CLI would create a cycle'

Fixed by renaming the node to 'CLIEP' (CLI Entrypoints) to avoid the naming conflict.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 16:59:42 +02:00
Ernad Husremovic
aa50d50283 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:06 +02:00
Ernad Husremovic
b3e6fb998e Convert DEPENDENCIES.md links to GitHub absolute URLs 2025-08-30 16:08:13 +02:00
Ernad Husremovic
c269fa7ae7 Update DEPENDENCIES.md links to correct package locations 2025-08-30 15:36:23 +02:00
Ernad Husremovic
50887b8e47 Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
Ernad Husremovic
95fcc8bd63 payment 2025-08-29 17:40:39 +02:00
Ernad Husremovic
12c29a983b Initial commit: Core packages 2025-08-29 15:20:45 +02:00