From 7b1ea86913486ed3194746d47633f38ab3557755 Mon Sep 17 00:00:00 2001 From: ahmed-nouri051 Date: Thu, 12 Jun 2025 16:20:00 +0200 Subject: [PATCH 1/5] add space # Conflicts: # odex25_hr/exp_official_mission/models/attendance.py --- odex25_hr/exp_official_mission/models/attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odex25_hr/exp_official_mission/models/attendance.py b/odex25_hr/exp_official_mission/models/attendance.py index a18eb4bb9..c22523909 100644 --- a/odex25_hr/exp_official_mission/models/attendance.py +++ b/odex25_hr/exp_official_mission/models/attendance.py @@ -14,4 +14,4 @@ class AttendanceTransactions(models.Model): # class ResPartner(models.Model): # _inherit = 'res.partner' # -# training = fields.Boolean(string="Training",default=True) \ No newline at end of file +# training = fields.Boolean(string="Training",default=True) From 9d6fb64419bda3fabd1e074018dd3388f87e6f66 Mon Sep 17 00:00:00 2001 From: ahmed-nouri051 Date: Sun, 15 Jun 2025 08:59:57 +0200 Subject: [PATCH 2/5] modification in hr # Conflicts: # odex25_hr/exp_official_mission/views/training.xml --- odex25_hr/exp_official_mission/i18n/ar_001.po | 8 +++++++- odex25_hr/exp_official_mission/models/attendance.py | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/odex25_hr/exp_official_mission/i18n/ar_001.po b/odex25_hr/exp_official_mission/i18n/ar_001.po index 7548f531d..ab134042b 100644 --- a/odex25_hr/exp_official_mission/i18n/ar_001.po +++ b/odex25_hr/exp_official_mission/i18n/ar_001.po @@ -2803,4 +2803,10 @@ msgstr "الموارد البشرية" #: model:ir.model.fields,field_description:exp_official_mission.field_hr_official_mission_type__analytic_account_id #: model_terms:ir.ui.view,arch_db:exp_official_mission.employee_official_mission_type_form_view msgid "Analytic Account" -msgstr "الحساب التحليلي" \ No newline at end of file +msgstr "الحساب التحليلي" + + +#. module: exp_official_missionAdd commentMore actions +#: model:ir.model.fields,field_description:exp_official_mission.field_res_partner_training +msgid "Training" +msgstr "تدريب" \ No newline at end of file diff --git a/odex25_hr/exp_official_mission/models/attendance.py b/odex25_hr/exp_official_mission/models/attendance.py index c22523909..264f68e2d 100644 --- a/odex25_hr/exp_official_mission/models/attendance.py +++ b/odex25_hr/exp_official_mission/models/attendance.py @@ -11,7 +11,7 @@ class AttendanceTransactions(models.Model): -# class ResPartner(models.Model): -# _inherit = 'res.partner' -# -# training = fields.Boolean(string="Training",default=True) +class ResPartner(models.Model): + _inherit = 'res.partner' + + training = fields.Boolean(string="Training",default=True) From 9c66aeb54e910d2eabd97ceb503dde02932b0f91 Mon Sep 17 00:00:00 2001 From: ahmed-nouri051 Date: Thu, 19 Jun 2025 09:26:03 +0200 Subject: [PATCH 3/5] modification related to training --- .../exp_official_mission/views/training.xml | 1266 ++++++++++------- 1 file changed, 719 insertions(+), 547 deletions(-) diff --git a/odex25_hr/exp_official_mission/views/training.xml b/odex25_hr/exp_official_mission/views/training.xml index 9608eb95f..57ea4e625 100644 --- a/odex25_hr/exp_official_mission/views/training.xml +++ b/odex25_hr/exp_official_mission/views/training.xml @@ -1,399 +1,553 @@ - - - Employee Training - hr.official.mission - tree,form - [('process_type','=','training')] - {'default_process_type':'training'} - + + + Employee Training + hr.official.mission + tree,form + [('process_type','=','training')] + {'default_process_type':'training'} + - + - + - Employee Training - hr.official.mission - -
-
-
- -
- + - -
- - - - - - - - - - - - - - - - + + - + - - - - - - - - - - + + + + + + + + + + - - + - - + + + - + - + - + - - - + + + - - - - - - -
-
- - - - - - + + + +
+
+ + + + + + - - - - - + readonly="1" + force_save="1" /> + + + + - + readonly="1" + force_save="1" /> - + - - - + + + - - + - - - - - - - - - - - - - + +
+ +
+ + + + + + + + + - - - - + + + + - - - - - - + + + + + + - + -
+
-
-
-
- - - -
- - - + +
+
+ + + +
+ + + - - Employee Training Course - hr.official.mission.employee - - - - - - - - - - - - - - - - - -