Commit graph

9 commits

Author SHA1 Message Date
Ernad Husremovic
5222b93391 purchase_advance_payment: use self.order_id instead of active_ids context
Fix make_advance_payment to use the order_id stored on the wizard
instead of relying on active_ids from context, which can be lost
or point to wrong PO after wizard reopens.
Also fix partner_id to use PO partner directly instead of commercial_partner_id.

🤖 assisted by claude
2026-02-11 11:21:14 +01:00
Ernad Husremovic
a3f2664ee8 purchase_advance_payment: stretch pay button to full width
🤖 assisted by claude
2026-02-11 11:05:32 +01:00
Ernad Husremovic
1f9a23aabd purchase_advance_payment: fix fill amount button - rename, restyle, fix constraint
- Rename button "Fill amount" to "Pay order due amount" / "Plati dospjeli iznos ponude"
- Change button style from btn-link to btn-secondary for better visibility
- Fix @api.constrains to allow zero amount (prevents error on form save before action)
- Move positive amount validation to make_advance_payment method
- Update .pot and bs.po translations

🤖 assisted by claude
2026-02-11 10:55:19 +01:00
Ernad Husremovic
889c53de60 Add "Fill amount" button to advance payment wizard
Adds a button next to "Order Due Amount" that fills the advance
amount with the full order due amount, converting currency if needed.

🤖 assisted by claude
2026-02-11 10:42:15 +01:00
Ernad Husremovic
d11a2df53b Complete Bosnian (bs) translations for purchase_advance_payment
🤖 assisted by claude
2026-02-11 10:32:26 +01:00
Ernad Husremovic
6cea6fda94 chore: bs translation fix sinkroniz→sinhroniz
🤖 assisted by claude
2026-01-13 17:15:35 +01:00
Ernad Husremovic
5360708edb chore: bs translation updates (sinkronizac→sinhronizac, Create RFQ fix)
🤖 assisted by claude
2026-01-13 16:43:09 +01:00
Ernad Husremovic
6af9cfd92c Hide irrelevant fields for Line Item Extraction rules
- Make target_field hidden and not required for line_item rules
- Hide Pattern Matching section for line_item rules
- Hide Data Type and Parsing section for line_item rules
- Hide stop_on_match field for line_item rules
- Hide Transformation and Validation tabs for line_item rules
- Clean up model: remove required=True from target_field and match_pattern

Version: 16.0.1.0.20

🤖 assisted by claude

🤖 assisted by claude
2025-11-05 23:02:32 +01:00
Ernad Husremovic
7378b233e9 Add oca-purchase submodule with 96 purchase modules moved from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 18:00:40 +02:00