Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Recruitment - Skills Management

Entity: hr.applicant

Compute Method: _compute_is_interviewer

Inputs Method Outputs
  • interviewer_ids
  • job_id
  • job_id.interviewer_ids
is_recruiter = self.user_has_groups('hr_recruitment.group_hr_recruitment_user')
for applicant in self:
            applicant.is_interviewer = not is_recruiter and self.env.user in (applicant.interviewer_ids | applicant.job_id.interviewer_ids)

Back to entity