From 3de5fce87c9c539fa97d29f199a7575432117c6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?=
Date: Tue, 4 Jun 2019 07:54:54 +0000
Subject: [PATCH] [IMP] hr_recruitment: Improve usability
Purpose
========
Modernize recruitment app, clean of menu, remove resume and letters feature
to integrate it with documents.
Specification
=============
1) Menus
- Applications
-> By Job Positions (current job position menu
-> All Applications
- Reporting
-> Recruitment Analysis
- Configuration
-> ... does not change
2) Remove resumes and letters menus
3) Add a quick search on `hr.job` to "My Jobs Positions" based
on recruitment responsible = user.
Task id: 1965870
closes odoo/odoo#33862
Signed-off-by: Yannick Tivisse (yti)
---
addons/hr_recruitment/views/hr_job_views.xml | 14 ++++++++--
.../views/hr_recruitment_views.xml | 26 +++----------------
2 files changed, 16 insertions(+), 24 deletions(-)
diff --git a/addons/hr_recruitment/views/hr_job_views.xml b/addons/hr_recruitment/views/hr_job_views.xml
index d4667221c4b..00e281816e2 100644
--- a/addons/hr_recruitment/views/hr_job_views.xml
+++ b/addons/hr_recruitment/views/hr_job_views.xml
@@ -82,6 +82,17 @@
+
+ hr.job.search
+ hr.job
+
+
+
+
+
+
+
+
Job Positions
@@ -97,6 +108,5 @@
-
-
+
diff --git a/addons/hr_recruitment/views/hr_recruitment_views.xml b/addons/hr_recruitment/views/hr_recruitment_views.xml
index 4738c74f842..c9a4817b1c3 100644
--- a/addons/hr_recruitment/views/hr_recruitment_views.xml
+++ b/addons/hr_recruitment/views/hr_recruitment_views.xml
@@ -646,26 +646,6 @@
-
- Resumes and Letters
- ir.attachment
- kanban,tree,form
-
-
- [('res_model','=','hr.applicant')]
- {'create': False}
-
-
- No document yet
-
- This menu helps you search through resumes and motivation
- letters. Odoo automatically indexes .PDF, .DOC, DOCX, .TXT
- files so that you can search keywords from the content of these
- files.
-
-
-
-
@@ -971,8 +951,10 @@
(0, 0, {'view_mode': 'graph', 'view_id': ref('hr_applicant_view_graph')})]"/>
{}
-
+
+
Recruitment Analysis
hr.applicant