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

Module: Skills Management

Entity: hr.job

Compute Method: _compute_current_job_skill_ids

Inputs Method Outputs
today = fields.Date.context_today(self)
for job in self:
            job.current_job_skill_ids = job.job_skill_ids.filtered(
                lambda skill: not skill.valid_to or skill.valid_to >= today,
            )

Back to entity