This module computes employee service information based on employee's contracts.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Automatically fills in each employee's first and last contract, plus their service start and termination dates, based on the employee's contracts.
This module links employee service information directly to the employee's contracts, so you no longer have to type the start and end of service by hand.
On the employee record it adds two computed fields: First Contract and Last Contract. Odoo looks at all contracts linked to that employee whose status is Open, Pending or Closed, then picks the one with the earliest start date as the first contract and the one with the latest end date as the last contract.
From those two contracts it derives two read-only dates: Start Date (taken from the first contract's start date) and Termination Date (taken from the last contract's end date). Because these are related fields, they update automatically whenever the underlying contract dates change.
The fields are stored, so they can be used in filters, groupings and reports without recalculating every time. The computation refreshes when the employee's contracts, their statuses or their start/end dates change.
This works together with the HR Employee Service module, which uses this information to calculate length of service. It touches the hr.employee model and reads from hr.contract. No new menus or screens are added; the new fields appear on the employee form alongside the existing service information.
Depends on
Models and fields (1)
- hr.employee · extends an existing modellast_contract_id (Last Contract), first_contract_id (First Contract), service_start_date (Start Date), service_termination_date (Termination Date)
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/hr.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.