TIP: You can type at any time to perform a new search.
Leave Accruals
hr_leave_accruals · OCA/hr
- Repository
- OCA/hr · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Generic Modules/Human Resources
- Folder size
- 0.4 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.savoirfairelinux.com/
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Alexandre Fayolle, OCA Transbot, dufresnedavid
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Leave Accruals ============== This module adds leave accruals on employees and a mechanism to compute these automaticaly. Contributors ------------ * David Dufresne <david.dufresne@savoirfairelinux.com> * Pierre Lamarche <pierre.lamarche@savoirfairelinux.com>
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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.