Commit graph

27 commits

Author SHA1 Message Date
Ernad Husremovic
aefecb045d Partner Ledger: fix PDF filename using _get_report_base_filename method
Remove broken controller override (bypassed by l10n_ba_pdv MRO chain).
Add _get_report_base_filename() method on wizard (l10n_ba_pdv pattern).
Pass report_filename via context for l10n_ba_pdv controller to extract.

🤖 assisted by claude
2026-02-09 14:32:20 +01:00
Ernad Husremovic
3d05074af5 Custom PDF filename with partner names, localize report headers
- Override report controller to set filename from wizard context
  (print_report_name not evaluated for wizard-based reports)
- Wizard passes report_filename via context: "Kartica partnera Paper Star d.o.o"
- Localize all PDF headers to Bosnian: Datum, ŽURN, Naziv konta,
  Opis, Duguje (KM), Potražuje (KM), Saldo (KM)

🤖 assisted by claude
2026-02-09 09:44:07 +01:00
Ernad Husremovic
889cc6a278 Improve Partner Ledger currency columns formatting
- Fixed-width (120px) currency columns for consistent alignment
- Currency symbol shown only in headers: Debit (KM), Credit (KM), Saldo (KM)
- Line values show only numbers with locale formatting (e.g. 10,00)

🤖 assisted by claude
2026-02-09 09:28:57 +01:00
Ernad Husremovic
e687bf6453 Set Partner Ledger PDF filename to include partner names
e.g. "Kartica partnera Paper Star d.o.o.pdf"

🤖 assisted by claude
2026-02-09 09:26:33 +01:00
Ernad Husremovic
652a582f8d Fix date formatting in Partner Ledger report to use locale settings
The _lines() method fetched the language date_format but never applied
it (line was a no-op: r['date'] = r['date']). Now formats dates using
strftime with the user's locale format (e.g. dd.mm.yyyy for bs_BA).
Also added widget='date' to header date_from/date_to fields.

🤖 assisted by claude
2026-02-09 09:24:08 +01:00
Ernad Husremovic
6be693d7af Exclude cancelled entries from General/Partner Ledger views
The ledger action domains only filtered display types but relied on
a removable search_default_posted filter to exclude cancelled moves.
Added parent_state != cancel to the hard domain so cancelled entries
never appear regardless of active search filters.

🤖 assisted by claude
2026-02-09 09:18:06 +01:00
Ernad Husremovic
156eee6617 Ignore __pycache__ 2026-01-25 13:45:24 +01:00
Ernad Husremovic
54a96472f6 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:54 +01:00
Ernad Husremovic
4e472fc5fa chore: bs translation fix sinkroniz→sinhroniz
🤖 assisted by claude
2026-01-13 17:15:35 +01:00
Ernad Husremovic
a4e5099b48 chore: bs translation updates (sinkronizac→sinhronizac, Create RFQ fix)
🤖 assisted by claude
2026-01-13 16:43:10 +01:00
Ernad Husremovic
5d2a6e1391 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:34:40 +01:00
Ernad Husremovic
b9712bbceb Add new HR payroll and OCR processing submodules
🤖 assisted by claude
2025-11-08 14:04:08 +01:00
Ernad Husremovic
4644996330 update submodule l10n_ba_edi
🤖 assisted by claude
2025-08-30 19:44:12 +02:00
Ernad Husremovic
2a8609fdff 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:46 +02:00
Ernad Husremovic
110cb2980f 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:21:36 +02:00
Ernad Husremovic
b3c37a7692 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:15:28 +02:00
Ernad Husremovic
90d537287d refresh github links
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 19:04:57 +02:00
Ernad Husremovic
13aaa04108 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:59:26 +02:00
Ernad Husremovic
33930cce8c 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:59 +02:00
Ernad Husremovic
f6e454411e 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:50:36 +02:00
Ernad Husremovic
bfb476157a Update submodule with latest changes
🤖 Generated with [Claude Code](https://claude.ai/code)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:27:15 +02:00
Ernad Husremovic
0c66eb89cd 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:27:46 +02:00
Ernad Husremovic
d89c7f94a5 Convert DEPENDENCIES.md links to GitHub absolute URLs 2025-08-30 16:08:15 +02:00
Ernad Husremovic
3d75141079 Update DEPENDENCIES.md links to correct package locations 2025-08-30 15:36:24 +02:00
Ernad Husremovic
9dd3a65d8c Add __pycache__/ to .gitignore and clean cache 2025-08-30 15:20:14 +02:00
Ernad Husremovic
3b38c49bf0 Initial commit: Odoomates Odoo packages (12 packages) 2025-08-29 15:49:21 +02:00