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

Module: Recruitment

Entity: hr.job

Compute Method: _compute_company_partner_id

Inputs Method Outputs
  • company_id
  • company_id.partner_id
for job in self:
            job.company_partner_id = job.company_id.partner_id or self.env.company.partner_id

Back to entity