TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0
Category
Generic Modules/Human Resources
Folder size
0.1 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
Alexis de Lattre, Alexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, Stéphane Bidoul (ACSONE), OCA Transbot, moylop260, dufresnedavid
Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
hr_accrual
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 info_outline

Views touched (2)
XML IDNameModelTypeStatus
view_holiday_status_form hr.holidays.status.form.extension hr.holidays.status form Inherits hr_holidays.edit_holiday_status_form
view_leave_request_form Leave Request hr.holidays form Inherits hr_holidays.edit_holiday_new
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.