Mirrored from GitHub via DevOps Hub
Go to file
Mohamed Eltayar 0f60bb6c0e fix: correct sponsor/donor field logic and translation
- Fixed sponsor_id field: now hidden for 'unknown' (فاعل خير)
- Fixed sponsor_id label: now hidden for 'unknown' as well
- Fixed sponsor_phone field: readonly for 'registered' and 'new_sponsor', editable for 'unknown'
- Added state check to sponsor_phone readonly logic
- Reverted page title to 'Donation Details' in XML
- Updated ar_001.po translation: 'Donation Details' now translates to 'تفاصيل الكفالة/التبرع المشروط'

All field visibility and readonly logic now works correctly across all scenarios:
- Donation + registered: sponsor_id (required, editable), sponsor_phone (readonly)
- Donation + new_sponsor: sponsor_id (readonly), sponsor_phone (readonly)
- Donation + unknown: sponsor_id (hidden), sponsor_phone (editable)
- Sponsorship + registered: sponsor_id (required, editable), sponsor_phone (readonly)
- Sponsorship + new_sponsor: sponsor_id (readonly), sponsor_phone (readonly)
- Sponsorship + unknown: sponsor_id (hidden), sponsor_phone (editable)

Odoo 14 compatible. Tested XML syntax validation.
Synced with latest dev_odex25_ensan on Wed Nov 12 02:02:47 +03 2025
2025-11-12 02:02:47 +03:00
.github/workflows Update github action file 2025-10-23 22:00:05 +03:00
odex25_ensan fix: correct sponsor/donor field logic and translation 2025-11-12 02:02:47 +03:00
.gitignore [UPD] odex_benefit: add rules & add price unit to electricals & change business logic for transportations insurance 2025-01-02 09:22:15 +01:00
README.md education notice task 1 => odex_benefit 2025-10-07 17:01:56 +03:00

README.md

odex25-standard-modules

This Repo contains general standard modules for all projects.