Commit graph

33 commits

Author SHA1 Message Date
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
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
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
2e65bf056a 16.0 vanila 2025-10-03 17:53:49 +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
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
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
50887b8e47 Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
Ernad Husremovic
12c29a983b Initial commit: Core packages 2025-08-29 15:20:45 +02:00