Commit graph

64 commits

Author SHA1 Message Date
Ernad Husremovic
40e4a3cb67 chore: update base bs.po translations 2026-01-14 19:25:07 +01:00
Ernad Husremovic
a4661e4ed4 chore: update base bs.po translations 2026-01-14 19:23:22 +01:00
Ernad Husremovic
152d7fe58c chore: update base bs.po translations 2026-01-14 19:21:33 +01:00
Ernad Husremovic
f12248d59d chore: update base bs.po translations 2026-01-14 19:19:28 +01:00
Ernad Husremovic
e6f4724c0c chore: update base bs.po translations 2026-01-14 19:17:29 +01:00
Ernad Husremovic
680444de03 chore: update base bs.po translations 2026-01-14 19:15:28 +01:00
Ernad Husremovic
421bb67cee chore: update base bs.po translations 2026-01-14 19:14:06 +01:00
Ernad Husremovic
521cebfbe7 chore: update base bs.po translations 2026-01-14 19:12:10 +01:00
Ernad Husremovic
6eaf1121be chore: update base bs.po translations 2026-01-14 19:10:11 +01:00
Ernad Husremovic
40bf0eda79 chore: update base bs.po translations 2026-01-14 19:06:06 +01:00
Ernad Husremovic
d125a63443 chore: update base bs.po translations 2026-01-14 19:04:44 +01:00
Ernad Husremovic
3f602d2e6d chore: update base bs.po translations 2026-01-14 19:03:15 +01:00
Ernad Husremovic
e47cfdedbb chore: update base bs.po translations 2026-01-14 19:01:29 +01:00
Ernad Husremovic
2326246cd9 chore: update base bs.po translations 2026-01-14 19:00:08 +01:00
Ernad Husremovic
3e570d0ada chore: update base bs.po translations 2026-01-14 18:58:34 +01:00
Ernad Husremovic
8aeaba54e4 chore: update base bs.po translations 2026-01-14 18:57:15 +01:00
Ernad Husremovic
bbd7353b24 chore: update base bs.po translations 2026-01-14 18:55:46 +01:00
Ernad Husremovic
8d9d2c7be4 chore: update base bs.po translations 2026-01-14 18:54:20 +01:00
Ernad Husremovic
067ce6e7ff chore: update base bs.po translations 2026-01-14 18:53:00 +01:00
Ernad Husremovic
a9705a3dd4 chore: update base bs.po translations 2026-01-14 18:49:54 +01:00
Ernad Husremovic
c03dbd1d45 chore: update base bs.po translations 2026-01-14 18:47:03 +01:00
Ernad Husremovic
17fa029c23 chore: update base bs.po translations 2026-01-14 18:31:24 +01:00
Ernad Husremovic
7d7cf5c804 chore: add --sync-with-pot and --clean-obsolete-po options, clean 667 obsolete entries from base/bs.po
🤖 assisted by claude
2026-01-14 16:58:31 +01:00
Ernad Husremovic
f7e38f0407 chore: AI translate base module bs.po (27%→65% translated)
🤖 assisted by claude
2026-01-14 16:45:01 +01:00
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