| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Time Off (hr_holidays) • Calendar (calendar) • Employees (hr) |
| Lines of code | 214 |
| Technical Name |
no_leave_balance_expiry |
| License | OPL-1 |
| Website | https://www.oudayet.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Time Off (hr_holidays) • Calendar (calendar) • Employees (hr) |
| Lines of code | 214 |
| Technical Name |
no_leave_balance_expiry |
| License | OPL-1 |
| Website | https://www.oudayet.com |
| Versions | 18.0 19.0 |
Leave Balance Expiry Warning
Use it or lose it — but make sure the employee knows.
Daily cron · Configurable window · Carryover-aware · Per-allocation opt-out
Odoo 19 $29.99 · OPL-1 For HR Teams 9 LanguagesThe "they forfeited 5 days" problem
Odoo tracks allocation end dates and carryover expiry, but never warns the employee. HR explains the policy after the days are gone. This module ships the warning email.
Without this module
Days roll over to next year, expire silently, employee discovers the loss in February. HR fields complaints.
With this module
Daily cron looks ahead the configured window, emails employees about expiring allocations. One alert per allocation; resets if expiry is pushed out.
What you get
Sweeps approved allocations whose expiry is within the window. Emails the employee at their work_email.
Default 30 days. System Parameter / Settings → Employees lets you push it to 60 if your policy is more lenient.
If carried_over_days_expiration_date is set, that wins over date_to. Reflects the real expiry rule.
Push expiry beyond the window and the flag resets — next-year carryover or extension still triggers a fresh warning.
"Expiry Warnings Enabled" toggle silences a specific allocation when HR has agreed differently.
Seven Python TransactionCase tests cover in/out window, draft skip, dedup, opt-out, and the bulk action.
See It In Action
Lives inside standard Time Off — a per-allocation toggle, a settings window, and an email warning.
Per-allocation control. Every approved allocation carries an "Expiry Warnings Enabled" toggle for the corner cases.
Set the window. Settings → Employees — choose how many days ahead the warning fires (default 30).
One-click send. Select allocations, Action → Send Leave Expiry Warning — a success toast confirms the count.
The warning. When an allocation nears expiry, the employee gets an email in their own Odoo language.
Available in 9 Languages
The warning email and form labels follow each user's own Odoo language setting — no extra setup.
Technical Details
| Module Version | 19.0.1.1.0 |
| Odoo Version | 19.0 Community + Enterprise |
| License | OPL-1 (paid, $29.99 USD) |
| Dependencies | hr_holidays, mail |
| Languages | EN, FR, ES, DE, NL, PT-BR, IT, ZH-CN, AR |
| Override point | hr.leave.allocation._cron_send_leave_expiry_warnings() |
Installation
1. Download from the Odoo App Store.
2. Extract to your Odoo addons directory.
3. Apps → Update Apps List → Install Leave Balance Expiry Warning.
4. Settings → Employees → set the warning window in days.
Found a bug?
Reach out via the Odoo App Store contact form.
© Naim OUDAYET — oudayet.com — OPL-1 license
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module