Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0
Category
Generic Modules/Human Resources
Folder size
0.67 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
http://miketelahun.wordpress.com
Last tracking update
2026-08-07 06:56:12
Authors
Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
Maintainers
Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
Committers
Alexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, Thomas Rehn, OCA Transbot, dufresnedavid
Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
hr_infraction, hr_payroll_period, hr_schedule
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 form Inherits hr_contract_state.view_contract_form
view_employee_form hr.employee.form.inherit.1 hr.employee form 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
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.