Commit graph

40 commits

Author SHA1 Message Date
Ernad Husremovic
0b2c2cd8a4 fix: rebuild base bs.po from clean OCA 16.0 source (16MB->1.1MB)
🤖 assisted by claude
2026-01-14 16:36:43 +01:00
Ernad Husremovic
d9063fabec Update Bosnian translations for purchase_request, purchase_request_mrp_sync, purchase_request_category, mrp_sync_mo_demand_with_transfers modules
🤖 assisted by claude
2026-01-13 17:56:42 +01:00
Ernad Husremovic
f3805b3ec3 chore: bs translation fix sinkroniz→sinhroniz
🤖 assisted by claude
2026-01-13 17:15:34 +01:00
Ernad Husremovic
47b5b43d2d chore: bs translation updates (sinkronizac→sinhronizac, Create RFQ fix)
🤖 assisted by claude
2026-01-13 16:43:09 +01:00
Ernad Husremovic
450d654f95 fix: werkzeug version detection for 2.1.0+
Werkzeug 2.1.0+ removed __version__ attribute.
Use importlib.metadata as fallback for version detection.

🤖 assisted by claude
2025-12-20 19:21:37 +01:00
Ernad Husremovic
a6177fc077 Fix payment_provider_data.xml to use payment module's own icon
Changed image_128 reference from payment_custom/static/description/icon.png
to payment/static/description/icon.png since payment_custom module is not
available in the addons path. Also removed module_id reference.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 17:58:54 +01:00
Ernad Husremovic
4ac739ea16 Enhance validate_fix_submodules.py to detect and auto-fix orphaned worktrees
- Add detection of orphaned worktree directories (empty dirs or worktrees/ paths without .git)
- Implement automatic removal of orphaned worktrees with --fix option
- Remove orphaned worktrees oca-ocb-accounting-16.1 and oca-ocb-core-16.1
- Update script documentation to explain worktree handling

🤖 assisted by claude

🤖 assisted by claude
2025-11-16 17:33:40 +01:00
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
Ernad Husremovic
ccb7625273 Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard
- Fix AttributeError: hr.payslip.run has no company_id field
- Change batch name format from MM/YYYY to YYYY-MM (remove 'Payslips' prefix)
- Add journal_id field and copy from previous batch
- Add work_type_id support (Redovni rad/Regular work) in timesheet generation
- Add duplicate check for existing timesheets to prevent duplication
- Use standard Odoo hr.payslip.employees wizard for payslip generation
- Update version to 16.0.1.1.0

🤖 assisted by claude

🤖 assisted by claude
2025-11-04 22:43:28 +01:00
Ernad Husremovic
1f0f86df6d Merge branch '16.0' 2025-10-17 11:30:05 +02:00
Ernad Husremovic
26cf1cbfb7 payment_custom vanilla 16.0 2025-10-17 11:29:53 +02:00
Ernad Husremovic
10c60ec3d1 patch addon paths 2025-10-16 17:03:24 +02:00
Ernad Husremovic
dd3f495ba4 Fix _NamespacePath concatenation error in file_path function
Convert odoo.addons.__path__ to list before concatenation with [root_path]
to fix TypeError when using Python 3.7+ namespace packages.

Error: unsupported operand type(s) for +: '_NamespacePath' and 'list'
Location: odoo/tools/misc.py:169

Added documentation explaining the fix in docs/PATCH_ADDONS_PATH.md

🤖 assisted by claude
2025-10-16 16:51:35 +02:00
Ernad Husremovic
aa9d89f649 payment_provider_data.xml bosnian 2025-10-16 16:43:38 +02:00
Ernad Husremovic
f0ee375081 vanilla 16.0 2025-10-16 16:41:06 +02:00
Ernad Husremovic
8c653da57a 16.0 vanilla version 2025-10-08 10:46:05 +02:00
Ernad Husremovic
2e65bf056a 16.0 vanila 2025-10-03 17:53:49 +02:00
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