From 5fdeac05ca8f30b6dc79f076b4bfbf7092116ba6 Mon Sep 17 00:00:00 2001 From: alt-odoo Date: Wed, 11 May 2022 06:42:42 +0000 Subject: [PATCH] [FIX] hr_recruitment: disable activities for Interviewer access rights Since commit [1], an interviewer can only access applications they are assigned to, and the chatter is disabled as it might contain sensitive information. However, they currently can still schedule activities on these applications, which is triggering an access rights error at message creation. We should prevent the use of activities alongside with log notes and messages. [1]:https://github.com/odoo/odoo/commit/63c4a9b951d374bec5796c525c99a3fbd4689e53 closes odoo/odoo#91061 X-original-commit: e615397f46652800681abd2c624c2dd8259e8dac Signed-off-by: Kevin Baptiste Signed-off-by: Alex Thuyls (alt) --- addons/hr_recruitment/static/src/scss/hr_applicant.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_recruitment/static/src/scss/hr_applicant.scss b/addons/hr_recruitment/static/src/scss/hr_applicant.scss index 701c394bb36..be9058299a4 100644 --- a/addons/hr_recruitment/static/src/scss/hr_applicant.scss +++ b/addons/hr_recruitment/static/src/scss/hr_applicant.scss @@ -1,6 +1,7 @@ .o_applicant_interviewer_form { .o_ChatterTopbar_buttonSendMessage, .o_ChatterTopbar_buttonLogNote, + .o_ChatterTopbar_buttonScheduleActivity, .o_MessageList { display: none; }