Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 19 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 6 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_employee_service_contract

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
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

New fields (7)
  • service_duration Integer
    compute='_compute_service_duration' groups='hr.group_hr_user' help='Service duration in days' readonly=True
  • service_duration_days Integer
    compute='_compute_service_duration_display' groups='hr.group_hr_user' readonly=True string='Service Duration (days)'
  • service_duration_months Integer
    compute='_compute_service_duration_display' groups='hr.group_hr_user' readonly=True string='Service Duration (months)'
  • service_duration_years Integer
    compute='_compute_service_duration_display' groups='hr.group_hr_user' readonly=True string='Service Duration (years)'
  • service_hire_date Date
    groups='hr.group_hr_user' help='Hire date is normally the date an employee completes new hire paperwork' string='Hire Date' tracking=True
  • service_start_date Date
    groups='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_date Date
    help='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'
Public methods (1)
  • 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…