odex25_standard/odex25_hr/hr_base/models
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
..
__init__.py [FIX] hr_base 2025-07-24 01:14:54 +01:00
application_dependent.py Add odex25_hr 2024-06-24 14:09:02 +03:00
assets_document.py Add odex25_hr 2024-06-24 14:09:02 +03:00
category_info.py Add odex25_hr 2024-06-24 14:09:02 +03:00
certification.py Add odex25_hr 2024-06-24 14:09:02 +03:00
company_document.py Add odex25_hr 2024-06-24 14:09:02 +03:00
department_info.py Add odex25_hr 2024-06-24 14:09:02 +03:00
dependent.py Add odex25_hr 2024-06-24 14:09:02 +03:00
designation_info.py Add odex25_hr 2024-06-24 14:09:02 +03:00
division_info.py Add odex25_hr 2024-06-24 14:09:02 +03:00
employee_amedment.py Add odex25_hr 2024-06-24 14:09:02 +03:00
employee_card.py Add odex25_hr 2024-06-24 14:09:02 +03:00
employee_clearance.py Add odex25_hr 2024-06-24 14:09:02 +03:00
employee_iqama.py Add odex25_hr 2024-06-24 14:09:02 +03:00
employee_iqama_renewal.py [IMP] hr_base, *: activate multi-company for various custom models 2025-09-17 05:02:24 +03:00
eos.py Add odex25_hr 2024-06-24 14:09:02 +03:00
eos_leaving.py Add odex25_hr 2024-06-24 14:09:02 +03:00
family_iqama.py Add odex25_hr 2024-06-24 14:09:02 +03:00
hr_base.py [FIX] hr_base: fix bug 2025-10-22 13:19:35 +01:00
hr_contract.py Add odex25_hr 2024-06-24 14:09:02 +03:00
hr_department.py fix: correct department and branch name display logic 2025-11-13 23:35:01 +03:00
hr_employee_attachments.py Add odex25_hr 2024-06-24 14:09:02 +03:00
hr_sick_leave.py Add odex25_hr 2024-06-24 14:09:02 +03:00
hr_ticket_dependent.py Add odex25_hr 2024-06-24 14:09:02 +03:00
hr_ticket_reissue.py Add odex25_hr 2024-06-24 14:09:02 +03:00
insurance.py Add odex25_hr 2024-06-24 14:09:02 +03:00
issue_place.py Add odex25_hr 2024-06-24 14:09:02 +03:00
office.py Add odex25_hr 2024-06-24 14:09:02 +03:00
res_company_ext.py [IMP] hr: Add signature in reports 2025-10-23 08:10:54 +01:00
res_config_settings.py login by identity + attendance zone + date required 2025-04-23 17:04:43 +02:00
res_partner.py HR Notes in employee record + employee reward+ permissions menu 2025-02-12 09:27:39 +02:00
res_users.py [FIX] hr_base 2025-09-16 19:07:08 +01:00
resource.py Add odex25_hr 2024-06-24 14:09:02 +03:00