diff --git a/addons/hr_recruitment/models/hr_recruitment.py b/addons/hr_recruitment/models/hr_recruitment.py index 6e14fac17b7..d75b3c64b16 100644 --- a/addons/hr_recruitment/models/hr_recruitment.py +++ b/addons/hr_recruitment/models/hr_recruitment.py @@ -149,9 +149,9 @@ class Applicant(models.Model): ('done', 'Green'), ('blocked', 'Red')], string='Kanban State', copy=False, default='normal', required=True) - legend_blocked = fields.Char(related='stage_id.legend_blocked', string='Kanban Blocked', readonly=False) - legend_done = fields.Char(related='stage_id.legend_done', string='Kanban Valid', readonly=False) - legend_normal = fields.Char(related='stage_id.legend_normal', string='Kanban Ongoing', readonly=False) + legend_blocked = fields.Char(related='stage_id.legend_blocked', string='Kanban Blocked', readonly=False, related_sudo=True) + legend_done = fields.Char(related='stage_id.legend_done', string='Kanban Valid', readonly=False, related_sudo=True) + legend_normal = fields.Char(related='stage_id.legend_normal', string='Kanban Ongoing', readonly=False, related_sudo=True) application_count = fields.Integer(compute='_compute_application_count', help='Applications with the same email') meeting_count = fields.Integer(compute='_compute_meeting_count', help='Meeting Count') refuse_reason_id = fields.Many2one('hr.applicant.refuse.reason', string='Refuse Reason', tracking=True)