From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../views/gamification_templates.xml | 10 ++++ .../hr_gamification/views/gamification_views.xml | 69 ++++++++++++++++++++++ addons/hr_gamification/views/hr_employee_views.xml | 52 ++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 addons/hr_gamification/views/gamification_templates.xml create mode 100644 addons/hr_gamification/views/gamification_views.xml create mode 100644 addons/hr_gamification/views/hr_employee_views.xml (limited to 'addons/hr_gamification/views') diff --git a/addons/hr_gamification/views/gamification_templates.xml b/addons/hr_gamification/views/gamification_templates.xml new file mode 100644 index 00000000..edf3195d --- /dev/null +++ b/addons/hr_gamification/views/gamification_templates.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/addons/hr_gamification/views/gamification_views.xml b/addons/hr_gamification/views/gamification_views.xml new file mode 100644 index 00000000..c2b378fa --- /dev/null +++ b/addons/hr_gamification/views/gamification_views.xml @@ -0,0 +1,69 @@ + + + + + gamification.badge.form.inherit + gamification.badge + + +
+ +
+
+
+ + + gamification.goal + Goals History + tree,kanban + {'search_default_group_by_user': True, 'search_default_group_by_definition': True} + [('challenge_id.challenge_category', '=', 'hr')] + +

+ Create a new goal +

+ A goal is defined by a user and a goal type. + Goals can be created automatically by using challenges. +

+
+
+ + + + Challenges + gamification.challenge + kanban,tree,form + [('challenge_category', '=', 'hr')] + {'search_default_inprogress':True, 'default_inprogress':True} + +

+ Create a new challenge +

+ Assign a list of goals to chosen users to evaluate them. + The challenge can use a period (weekly, monthly...) for automatic creation of goals. + The goals are created for the specified users or member of the group. +

+
+
+ + + kanban + + + + + + form + + + + + + + + + + +
diff --git a/addons/hr_gamification/views/hr_employee_views.xml b/addons/hr_gamification/views/hr_employee_views.xml new file mode 100644 index 00000000..f489a73a --- /dev/null +++ b/addons/hr_gamification/views/hr_employee_views.xml @@ -0,0 +1,52 @@ + + + + + hr.employee.view.form.inherit + hr.employee + + + + + + +