HR Employee Service
hr_employee_service · OCA/hr
-
Security25/25No findings
-
Activity12/25Last human commit 19 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Description
With this module installed, HR Officer can keep records on employee hire, start, and termination dates. This information is also used to automatically calculate length of employee's service for the company.
Hire Date typically is the date when employee has accepted or signed the offer.
Start Date typically is the date of the first official work day since which employee is entitled to receiving benefits and various accrual allocations.
Termination Date typically is the date of the last official work day since until which employee is entitled to receiving benefits and various accrual allocations.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_employee_form_inherit_extension |
view.employee.form.inherit.extension | hr.employee | form | Inherits hr.view_employee_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
service_durationIntegercompute='_compute_service_duration'groups='hr.group_hr_user'help='Service duration in days'readonly=True -
service_duration_daysIntegercompute='_compute_service_duration_display'groups='hr.group_hr_user'readonly=Truestring='Service Duration (days)' -
service_duration_monthsIntegercompute='_compute_service_duration_display'groups='hr.group_hr_user'readonly=Truestring='Service Duration (months)' -
service_duration_yearsIntegercompute='_compute_service_duration_display'groups='hr.group_hr_user'readonly=Truestring='Service Duration (years)' -
service_hire_dateDategroups='hr.group_hr_user'help='Hire date is normally the date an employee completes new hire paperwork'string='Hire Date'tracking=True -
service_start_dateDategroups='hr.group_hr_user'help='Start date is the first day the employee actually works and this date is used for accrual leave allocations calculation'string='Start Date'tracking=True -
service_termination_dateDatehelp='Termination date is the last day the employee actually works and this date is used for accrual leave allocations calculation'related='departure_date'string='Termination Date'
-
get_service_duration_from_date(self, date=None)Returns the employee service duration for the given date. This function is used in OCA/payroll modules as a helper function to calculate employee service duration calculated for the given date.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…