HR Holidays Extension

hr_holidays_extension
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/7.0/hr_holidays_extension
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
COMMITTERSAlexis de Lattre, Alexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, Stéphane Bidoul (ACSONE), OCA Transbot, moylop260, dufresnedavid
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_public_holidays
    - hr_schedule
    - hr_contract_init
    - hr_job_categories
    - hr_security
    - hr_simplify
    - hr_employee_state
    - hr_contract_state
odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - process
    - board
    - base_calendar
    - base_status
    - base_action_rule
    - hr_attendance
    - hr_contract
    - hr_payroll
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Capabilities for HR Holidays (Leaves)
==============================================

    * When calculating the number of leave days take into account the
      employee's schedule and public holidays
    * The 'Need Action' mechanism assumes the HR Manager approves leave
      requests
    * Rename 'Leave Requests' menu item to 'My Leaves'
      (which is closer to its intent)
    * Add a new menu item: All Leave Requests
    * New way of entering leaves based on the number of days requested, rather
      than by specifying a start and end date. You tell it how many days to
      grant and it calculates the start and end dates based on the employee's
      schedule.
    * Allow a manager to approve the leave requests of subordinates (manager
      must be immediate superior of employee or manager of employee's
      department and have leave approval rights)

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_holiday_status_form hr.holidays.status.form.extension hr.holidays.status data Inherits hr_holidays.edit_holiday_status_form
view_leave_request_form Leave Request hr.holidays xpath Inherits hr_holidays.edit_holiday_new
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • create(self, cr, uid, vals, context=None)

New fields (0)

No new fields.

Public methods (5)
  • create(self, cr, uid, vals, context=None)
  • holidays_first_validate(self, cr, uid, ids, context=None)
  • holidays_validate(self, cr, uid, ids, context=None)
  • onchange_bynumber(self, cr, uid, ids, no_days, date_from, employee_id, holiday_status_id, context=None)
    Update the dates based on the number of days requested.
  • onchange_enddate(self, cr, uid, ids, employee_id, date_to, holiday_status_id, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.