Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 139 months ago
  • Required by5/25
    0 modules depend 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
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.4 MB
Module directory on disk
Code analysis 27 migration notes 8 models 6 views 0 HTTP endpoints

Description

Leave Accruals

This module adds leave accruals on employees and a mechanism to compute these automaticaly.

Contributors

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
view holidays_status_form hr.holidays.status.form hr.holidays.status form Inherits hr_holidays.edit_holiday_status_form
view_company_form res.company.form res.company form Inherits base.view_company_form
view_employee_form hr.employee.form hr.employee form Inherits hr.view_employee_form
view_hr_leave_accrual_filter hr.leave.accrual.select hr.leave.accrual search New
view_leave_accrual_form hr.leave.accrual.form hr.leave.accrual form New
view_leave_accrual_tree hr.leave.accrual.tree hr.leave.accrual tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 8

New fields (0)

No new fields.

Public methods (1)
  • get_leave_accrual_id(self, cr, uid, employee_id, accrual_code=False, leave_type_id=False, context=None)
    Get a leave accrual of an employee that matches a leave_code :return: the id of a leave accrual

New fields (0)

No new fields.

Public methods (2)
  • holidays_refuse(self, cr, uid, ids, context=None)
    After an allocation of holidays is refused, remove the leave accrual line related
  • holidays_validate(self, cr, uid, ids, context=None)
    After an allocation of holidays is validated, add hours to the related leave accrual of the employee

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • compute_leave_accrual_lines(self, cr, uid, ids, context=None)
    Update an employee's leave accruals with the amounts computed in the payslip.
  • compute_sheet(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.