Employment Status

hr_employee_state
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/7.0/hr_employee_state
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSAlexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, Thomas Rehn, OCA Transbot, dufresnedavid
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_contract_state
    - hr_contract_init
    - hr_job_categories
    - hr_security
    - hr_simplify
odoo/odoo:
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - process
    - board
    - hr_contract
    - hr_payroll
    - hr_holidays
    - base_calendar
    - base_status
    - base_action_rule
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Employee's Employment Status
============================

Track the HR status of employees.
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
hr_employee_termination_form_view hr.employee.termination.form hr.employee.termination form New
hr_employee_termination_tree_view hr.employee.termination.tree hr.employee.termination tree New
view_contract_form hr.contract.form.inherit.1 hr.contract data Inherits hr_contract_state.view_contract_form
view_employee_form hr.employee.form.inherit.1 hr.employee data Inherits hr.view_employee_form
view_inactive_wizard hr.contract.end.form hr.contract.end form New
view_termination_filter Employees hr.employee.termination search New
view_termination_reason_form hr.employee.termination.reason.form hr.employee.termination.reason form New
view_termination_reason_tree hr.employee.termination.reason.tree hr.employee.termination.reason tree New
Models touched (6)

New fields (0)

No new fields.

Public methods (5)
  • end_contract(self, cr, uid, ids, context=None)
  • setup_pending_done(self, cr, uid, contract, term_vals, context=None)
    Start employee deactivation process.
  • state_open(self, cr, uid, ids, context=None)
    Override 'open' contract state to also change employee state: new -> onboarding
  • state_trial(self, cr, uid, ids, context=None)
    Override 'trial' contract state to also change employee state: new -> onboarding
  • try_signal_contract_completed(self, cr, uid, context=None)

New fields (0)

No new fields.

Public methods (1)
  • set_employee_inactive(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (5)
  • condition_finished_onboarding(self, cr, uid, ids, context=None)
  • signal_reactivate(self, cr, uid, ids, context=None)
  • state_active(self, cr, uid, ids, context=None)
  • state_inactive(self, cr, uid, ids, context=None)
  • state_pending_inactive(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (4)
  • effective_date_in_future(self, cr, uid, ids, context=None)
  • state_cancel(self, cr, uid, ids, context=None)
  • state_done(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.