[FIX] hr_recruitment: allow Interviewers to use Activities
The Interviewers couldn't mark Activities as done, as they didn't have access to the mail.message on the application. closes odoo/odoo#92063 Taskid: 2857423 X-original-commit: 4a5941eed902927e11605e94b7afcfc227bece9d Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -53,7 +53,13 @@
|
||||
<record id="mail_message_interviewer_rule" model="ir.rule">
|
||||
<field name="name">Interviewer: No Applicant Chatter</field>
|
||||
<field name="model_id" ref="mail.model_mail_message"/>
|
||||
<field name="domain_force">[('model', '!=', 'hr.applicant')]</field>
|
||||
<field name="domain_force">[
|
||||
'|',
|
||||
('model', '!=', 'hr.applicant'),
|
||||
'&',
|
||||
('model', '=', 'hr.applicant'),
|
||||
('mail_activity_type_id', '!=', False)
|
||||
]</field>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_unlink" eval="False"/>
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
.o_applicant_interviewer_form {
|
||||
.o_ChatterTopbar_buttonSendMessage,
|
||||
.o_ChatterTopbar_buttonLogNote,
|
||||
.o_ChatterTopbar_buttonScheduleActivity,
|
||||
.o_MessageList {
|
||||
.o_MessageList_empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user