With this module installed, HR Officer can configure specific leave types to allow negative balance, or allow employees take leave credit.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Lets HR officers mark certain leave types as allowing credit, so selected employees can request leave even when their allocated balance is insufficient, and shows credit usage in the leave type name.
This module extends the leave type configuration in Odoo's Time Off app. On each leave type (for example Annual Leave or Sick Leave), HR officers get a new "Allow Credit" checkbox, visible only when the leave type is not set to "no allocation". When enabled, three extra fields appear to limit who may use the credit: specific employees, employee tags, and departments. If none of these are filled in, the credit is available to everyone for that leave type.
When an employee submits a leave request, Odoo normally blocks it if the allocated balance is not enough. With credit allowed for that employee, the request is accepted and the balance can go negative. The standard balance check is skipped only for requests that qualify for credit; all other requests keep the normal restriction.
The leave type name shown to users is also enriched: when a balance is available it displays the remaining days, adding "+ credit" if credit is allowed, and when the balance is already negative it shows how many days are used in credit.
All of this is configured from the leave type form in the Time Off configuration, and it affects the hr.leave and hr.leave.type models.
Depends on
Models and fields (2)
- hr.leave · extends an existing model
- hr.leave.type · extends an existing modelallow_credit (Allow Credit), creditable_employee_ids (Creditable Employees), creditable_department_ids (Creditable Departments), creditable_employee_category_ids (Creditable Employee Tags)
Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/hr-holidays.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.