diff --git a/odex25_hr/exp_official_mission/__manifest__.py b/odex25_hr/exp_official_mission/__manifest__.py index a698ff8a5..84433653f 100644 --- a/odex25_hr/exp_official_mission/__manifest__.py +++ b/odex25_hr/exp_official_mission/__manifest__.py @@ -25,7 +25,7 @@ 'views/ticket_view.xml', 'views/course_view.xml', 'views/appraisal_view.xml', - # 'views/res_partner_form_view.xml', + 'views/res_partner_form_view.xml', 'views/training_menus.xml', 'wizard/employee_selection_wizard.xml', 'wizard/training_appraisal.xml', diff --git a/odex25_hr/exp_official_mission/i18n/ar_001.po b/odex25_hr/exp_official_mission/i18n/ar_001.po index 7548f531d..bbe508af6 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_mission +#: 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 a18eb4bb9..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) \ No newline at end of file +class ResPartner(models.Model): + _inherit = 'res.partner' + + training = fields.Boolean(string="Training",default=True) 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 - - - - - - - - - - - - - - - - - -