odex25_standard/odex25_hr/hr_base
maltayyar2 6510ca14e4 fix: correct department and branch name display logic
- Add is_branch check to prevent name duplication
- Branches (is_branch=true) show name only
- Departments (is_branch=false) show 'name - branch' when branch exists
- Fix display_name property with same logic
- Prevent cases like 'فرع الافلاج - فرع الافلاج'

Examples:
- Branch: 'فرع الجنوب' (name only)
- Department: 'أجهزة كهربائية - فرع الجنوب' (with branch)
- Department: 'إدارة التسويق' (no branch)

Synced with latest dev_odex25_hr on Thu Nov 13 23:35:00 +03 2025
2025-11-13 23:35:01 +03:00
..
data [IMP] hr_base, *: activate multi-company for various custom models 2025-09-17 05:02:24 +03:00
i18n feat: enhance department display with short name support 2025-11-13 18:25:54 +03:00
models fix: correct department and branch name display logic 2025-11-13 23:35:01 +03:00
report Add odex25_hr 2024-06-24 14:09:02 +03:00
security Update Accounting Manager Permissions to Create contract.advantage 2025-11-12 17:07:25 +02:00
static Add odex25_hr 2024-06-24 14:09:02 +03:00
views fix: remove invalid department_id field from hr.department views 2025-11-13 18:55:10 +03:00
__init__.py Add odex25_hr 2024-06-24 14:09:02 +03:00
__manifest__.py [IMP] hr_base, *: activate multi-company for various custom models 2025-09-17 05:02:24 +03:00