HR Employee Service

hr_employee_service
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/18.0/hr_employee_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Luis Rodriguez
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_employee_form_inherit_extension view.employee.form.inherit.extension hr.employee xpath Inherits hr.view_employee_form
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.
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/16.0/hr_employee_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSEnric Tobella, remi-filament, Weblate, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_employee_form_inherit_extension view.employee.form.inherit.extension hr.employee xpath Inherits hr.view_employee_form
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.
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/15.0/hr_employee_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Olga Marco
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_employee_form_inherit_extension view.employee.form.inherit.extension hr.employee xpath Inherits hr.view_employee_form
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 (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/14.0/hr_employee_service
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSGitHub, remi-filament, OCA Transbot, oca-travis, Weblate, OCA-git-bot, aphon61bank, levkar
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_employee_form_inherit_extension view.employee.form.inherit.extension hr.employee xpath Inherits hr.view_employee_form
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 string='Service Duration'
  • 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.
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/13.0/hr_employee_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSAlexey Pelykh, oca-travis, Weblate, OCA-git-bot, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - mail_bot
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_employee_form_inherit_extension view.employee.form.inherit.extension hr.employee xpath Inherits hr.view_employee_form
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 string='Service Duration'
  • 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' track_visibility='onchange'
  • 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' track_visibility='onchange'
  • service_termination_date Date
    groups='hr.group_hr_user' help='Termination date is the last day the employee actually works and this date is used for accrual leave allocations calculation' string='Termination Date' track_visibility='onchange'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/12.0/hr_employee_service
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSPedro M. Baeza, Alexey Pelykh, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_employee_form_inherit_extension view.employee.form.inherit.extension hr.employee xpath Inherits hr.view_employee_form
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 string='Service Duration'
  • 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' track_visibility='onchange'
  • 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' track_visibility='onchange'
  • service_termination_date Date
    groups='hr.group_hr_user' help='Termination date is the last day the employee actually works and this date is used for accrual leave allocations calculation' string='Termination Date' track_visibility='onchange'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr
PULL REQUEST
PULL REQUEST[19.0][MIG] hr_employee_service: Migration to 19.0 (#1584)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr
PULL REQUEST
PULL REQUEST19.0 mig hr employee service (#1578)