hr_employee_service_contract
Compute employee service information and durations directly from their contract history.
Key Features
- hr.employee: Computes the first employment contract in service states to anchor service duration metrics.
- hr.employee: Computes the last employment contract to capture the latest relevant agreement for service calculations.
- hr.employee: Exposes read-only service start and termination dates sourced from the first and last contracts.
- hr.employee: Restricts service-related contract searches to open, pending, or closed states to ignore drafts or cancelled agreements.