[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 <kba@odoo.com>
Signed-off-by: Alex Thuyls (alt) <alt@odoo.com>
This commit is contained in:
alt-odoo
2022-05-11 13:48:06 +02:00
parent a27bd6ff36
commit 5fdeac05ca
@@ -1,6 +1,7 @@
.o_applicant_interviewer_form {
.o_ChatterTopbar_buttonSendMessage,
.o_ChatterTopbar_buttonLogNote,
.o_ChatterTopbar_buttonScheduleActivity,
.o_MessageList {
display: none;
}