Skip to content
Health
45/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 123 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 5 migration notes 3 models 2 views 0 HTTP endpoints

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)

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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.