Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), CorporateHub
Maintainers
Odoo Community Association (OCA), CorporateHub
Committers
Weblate, OCA-git-bot, oca-ci, Luis Rodriguez
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module computes employee service information based on employee's
contracts.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (4)
  • first_contract_id Many2one → hr.contract
    compute='_compute_first_contract_id' help='First contract of the employee' prefetch=False store=True string='First Contract' args: 'hr.contract'
  • last_contract_id Many2one → hr.contract
    compute='_compute_last_contract_id' help='Last contract of the employee' prefetch=False store=True string='Last Contract' args: 'hr.contract'
  • service_start_date Date
    prefetch=False readonly=True related='first_contract_id.date_start' string='Start Date'
  • service_termination_date Date
    prefetch=False readonly=True related='last_contract_id.date_end' string='Termination Date'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
27 days ago
Last activity
6 days ago
Repository
OCA/hr
Pull request
[19.0][MIG] hr_employee_service_contract: Migration to 19.0 (#1600)