Commit Graph

2473 Commits

Author SHA1 Message Date
شركة خبير المحدودة 28c6eb3db6 Update github action file 2025-11-22 06:13:16 +02:00
شركة خبير المحدودة 2ffd563931 Update github action file 2025-11-22 04:13:51 +02:00
شركة خبير المحدودة 967f9ab3d1 Update github action file 2025-11-22 04:13:10 +02:00
شركة خبير المحدودة 37e26d692c Update github action file 2025-11-22 02:52:42 +02:00
شركة خبير المحدودة 9119cb1bdd Update github action file 2025-11-22 02:24:07 +02:00
شركة خبير المحدودة 2812ce72c6 Update github action file 2025-11-22 02:19:45 +02:00
شركة خبير المحدودة a871ad977c Update github action file 2025-11-22 00:05:54 +02:00
شركة خبير المحدودة 7030bbe322 Update github action file 2025-11-21 23:57:55 +02:00
شركة خبير المحدودة 47b9b482a7 Update github action file 2025-11-21 22:58:42 +02:00
kchyounes19 bae49f7d5f
Merge pull request #5460 from expsa/jj_dev_odex25_hr
[REV] exp_official_mission: revert old code
2025-11-19 15:12:59 +01:00
younes 7addc8a742 [REV] exp_official_mission: revert old code 2025-11-19 15:11:37 +01:00
kchyounes19 21b5eee10f
Merge pull request #5455 from expsa/kk_dev_odex25_hr
[FIX] attendances: FIX bug
2025-11-19 14:05:03 +01:00
younes 90ed3b025b [FIX] attendances: FIX bug 2025-11-19 14:03:13 +01:00
abdurrahman-saber e5619e5c2d
Merge pull request #5454 from expsa/JAZ-3888
[FIX]  exp_official_mission: write new records with the new sequence
2025-11-19 15:33:22 +04:00
Abdurrahman Saber 74dd613695 [FIX] exp_official_mission: write new records with the new sequence 2025-11-19 15:32:38 +04:00
abdurrahman-saber e193982648
Merge pull request #5453 from expsa/JAZ-3888
[FIX] hr_contract_custom, exp_official_mission: give account manager …
2025-11-19 15:15:29 +04:00
Abdurrahman Saber ffb831c195 [FIX] hr_contract_custom, exp_official_mission: give account manager access to contracts, check record field value after creation 2025-11-19 15:14:47 +04:00
kchyounes19 a46ba1e3e3
Merge pull request #5434 from expsa/kch_dev_odex25_hr
[FIX] attendances: FIX bug
2025-11-17 15:17:16 +01:00
younes 97ebed566b [FIX] attendances: FIX bug 2025-11-17 15:16:19 +01:00
Bakry deb5a6f74b fix leave status in employee 2025-11-17 16:13:32 +03:00
kchyounes19 ea38d1cc08
Merge pull request #5433 from expsa/kch_dev_odex25_hr
[FIX] attendances: fix bug
2025-11-16 13:21:20 +01:00
younes 4bb4a550ff [FIX] attendances: fix bug 2025-11-16 13:18:52 +01:00
mazenmuhamad 0d1e6179bf
Merge pull request #5423 from expsa/JAZ-3843
Include “Other” Allowance Type in Employee Termination Report
2025-11-16 09:08:34 +02:00
Mazen Abdo 4fc9cb3b79 Include “Other” Allowance Type in Employee Termination Report 2025-11-16 09:06:52 +02:00
abdurrahman-saber c232517246
Merge pull request #5422 from expsa/edit_vis
[IMP] hr_government_relations: open cost field for governement relations
2025-11-15 11:32:33 +02:00
Abdurrahman Saber 57e31ba0e9 [IMP] hr_government_relations: open cost field for governement relations 2025-11-15 11:31:51 +02:00
Mohamed Eltayar 2d76a307ef
Merge pull request #5419 from expsa/feature/hr-department-correct-display-20251113-233449
fix: correct HR department and branch name display logic
2025-11-13 23:35:46 +03:00
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
Mohamed Eltayar 7e99f90276
Merge pull request #5417 from expsa/feature/hr-department-flexible-display-20251113-222152
feat: enhance HR department display with flexible context support
2025-11-13 22:22:39 +03:00
maltayyar2 59935dfd2d feat: enhance department name display with flexible context support
- Add context check for 'show_full_path' in name_get method
- Support both short names (default) and full path (optional)
- Enhanced display_name property with same flexibility
- Maintain backward compatibility with existing fields

Usage:
- Default: <field name="department_id"/> (short name)
- Full path: <field name="department_id" context="{'show_full_path': True}"/>

Synced with latest dev_odex25_hr on Thu Nov 13 22:22:02 +03 2025
2025-11-13 22:22:02 +03:00
Mohamed Eltayar 8274aaaeeb
Merge pull request #5416 from expsa/feature/hr-department-short-names-20251113-214527
feat: simplify HR department name display for short names
2025-11-13 21:46:22 +03:00
maltayyar2 e3ec99f527 feat: simplify department name display to show short names
- Remove complex logic from name_get method
- Simplify display_name property
- Show department.name directly for all departments/branches
- Remove dependency on context variables

Synced with latest dev_odex25_hr on Thu Nov 13 21:45:35 +03 2025
2025-11-13 21:45:36 +03:00
Mohamed Eltayar 5d5c560167
Merge pull request #5414 from expsa/fix/hr-department-xml-error-20251113-185434
fix: remove invalid department_id field from hr.department views
2025-11-13 18:55:48 +03:00
Mohamed Eltayar 67d3535274 fix: remove invalid department_id field from hr.department views
🚨 **Critical XML Fix**
Fixed ValidationError: الحقل department_id غير موجود في النموذج hr.department

## 🔧 **Problem Fixed**
- Removed invalid department_id field from hr.department form view
- Removed department_id field and grouping from hr.department search view
- hr.department cannot reference itself via department_id field

## 📁 **Files Modified**
- odex25_hr/hr_base/views/hr_base_view.xml: Removed invalid department_id references

##  **Impact**
- Fixes XML validation error during module upgrade
- Maintains proper model field relationships
- Allows successful hr_base module loading

## 🔗 **Related**
Fixes error in PR #5412 - Department display enhancement
2025-11-13 18:55:10 +03:00
Mohamed Eltayar bc5f17dcf3
Merge pull request #5412 from expsa/feature/department-display-enhancement-20251113-182545
feat: enhance department display with short name support
2025-11-13 18:31:11 +03:00
Mohamed Eltayar e290c7fd3c feat: enhance department display with short name support
🔧 **Key Improvements:**
- Extended name_get to support show_department_short context
- Added display_name property override for consistent short display
- Enhanced tree view with department context for clean display
- Fixed translation consistency (Department = القسم)

📁 **Files Modified:**
- odex25_hr/hr_base/models/hr_department.py: Enhanced name_get and added display_name property
- odex25_hr/hr_base/views/hr_base_view.xml: Added context to department fields in all views
- odex25_hr/hr_base/i18n/ar_001.po: Unified Department translation to القسم

 **Impact:**
- Department names now display without hierarchical path when context is set
- Consistent short name display across all HR views (form, tree, search)
- Unified Arabic translation for better UX
- Maintains backward compatibility with existing functionality

Synced with latest dev_odex25_hr on Thu Nov 13 18:25:53 +03 2025
2025-11-13 18:25:54 +03:00
Mohamed Eltayar 0a8ee3ebfd
Merge pull request #5407 from expsa/fix/branch-name-display-complete-20251113-153333
fix: ensure branch departments always display short names
2025-11-13 15:45:26 +03:00
Mohamed Eltayar 5b10bd7065 fix: ensure branch departments always display short names
- Modified name_get method to prioritize is_branch flag
- Branch departments (is_branch=True) now always show name only
- Maintains context support for other cases
- Fixes issue where branch names showed full hierarchical path
- Ensures consistent short name display across all related fields

Files modified:
- odex25_hr/hr_base/models/hr_department.py

This resolves the issue where branch names appeared with full path
even when context was provided for short display.
2025-11-13 15:33:55 +03:00
mazenmuhamad 1ff8aca934
Merge pull request #5406 from expsa/maz_hr_multicompany_employee
Maz hr multicompany employee
2025-11-13 14:13:15 +02:00
Mazen Abdo 8a7a3755cd Modified employee creation to assign a valid emp_no if missing or '/' 2025-11-13 14:12:41 +02:00
Mazen Abdo b3a92a1543 Modified employee creation to assign a valid emp_no if missing or '/' 2025-11-13 14:11:13 +02:00
Mohamed Eltayar dfdfc24c23
Merge pull request #5405 from expsa/fix/hr-department-tree-view-20251113-145804
fix: correct XPath selectors in HR department views
2025-11-13 14:59:18 +03:00
Mohamed Eltayar 6a2a93e0f6 fix: correct XPath selectors in HR department tree and search views
- Fixed tree view XPath from 'name' to 'display_name' (matches Odoo 14 standard)
- Fixed search view groupby filter position to use 'inactive' filter reference
- Ensures proper inheritance of hr.department views
- Resolves XML validation error during module upgrade

Files modified:
- odex25_hr/hr_base/views/hr_base_view.xml

Fixes XPath validation error in hr_department tree view inheritance
2025-11-13 14:58:29 +03:00
Mohamed Eltayar 6aad0c3752
Merge pull request #5403 from expsa/feature/hr-branch-correct-paths-20251113-144806
feat: enhance HR branch display with correct paths and tree/search views
2025-11-13 14:51:19 +03:00
Mohamed Eltayar 4830170638 feat: enhance HR branch display with correct paths
- Modified name_get method in hr.department for short branch display
- Added context support for show_branch_short and from_branch_field
- Updated HR views to use short branch name context
- Added branch field to department tree view with context
- Added branch field to department search view with groupby filter
- Added Arabic translations for branch field

Files modified with correct paths:
- odex25_hr/hr_base/models/hr_department.py
- odex25_hr/hr_base/views/hr_base_view.xml
- odex25_hr/hr_base/i18n/ar_001.po

Synced with latest dev_odex25_hr on Thu Nov 13 14:49:04 +03 2025
2025-11-13 14:49:04 +03:00
Mohamed Eltayar 14ffaad1ab
Merge pull request #5401 from expsa/revert/hr-wrong-merge-20251113-144413
Revert "Merge pull request #5398 - Wrong file paths"
2025-11-13 14:46:10 +03:00
Mohamed Eltayar 01e859a417 Revert "Merge pull request #5398 from expsa/feature/hr-branch-display-20251113-124438"
This reverts commit 50afce2741, reversing
changes made to b3a7b959d8.
2025-11-13 14:44:06 +03:00
Mohamed Eltayar 50afce2741
Merge pull request #5398 from expsa/feature/hr-branch-display-20251113-124438
feat: enhance branch name display in HR module
2025-11-13 12:46:30 +03:00
Mohamed Eltayar 89760b65c8 feat: enhance branch name display in HR module
- Modified name_get method in hr.department to show short branch names
- Added context support for 'from_branch_field' and 'show_branch_short'
- Updated hr_base_view.xml to use short branch name context
- Branch names now display without hierarchical path when requested

Synced with latest dev_odex25_hr on Thu Nov 13 12:45:02 +03 2025
2025-11-13 12:45:02 +03:00
mazenmuhamad b3a7b959d8
Merge pull request #5394 from expsa/fix/accounting_manager_access_rights
Update Accounting Manager Permissions to Create contract.advantage
2025-11-12 17:09:43 +02:00