| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Calendar (calendar)
• Discuss (mail) • Employees (hr) • Time Off (hr_holidays) |
| Lines of code | 156 |
| Technical Name |
eg_emp_max_leave_alert |
| License | OPL-1 |
| Website | http://www.inkerp.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Calendar (calendar)
• Discuss (mail) • Employees (hr) • Time Off (hr_holidays) |
| Lines of code | 156 |
| Technical Name |
eg_emp_max_leave_alert |
| License | OPL-1 |
| Website | http://www.inkerp.com |
| Versions | 16.0 17.0 18.0 19.0 |
Our Most Suggested Products
Employee Maximum Leave Alert
The Employee Maximum Leave Alert module enhances Odoo Time Off management by enforcing configurable leave limits for employees. It allows organizations to define restrictions on continuous leave days and total monthly leave usage. The system automatically validates leave requests and prevents submissions that exceed defined limits, ensuring better workforce planning and policy compliance.
Features
1. Continuous Leave Limit Control
Define a maximum number of consecutive leave days allowed for each Time Off Type. If an employee submits a request exceeding the allowed continuous days, the system blocks the request and displays a clear validation message.
2. Monthly Leave Limit Restriction
Set a monthly limit for total leave days per employee. The system tracks all approved and requested leaves within the same month and prevents exceeding the defined limit.
3. Smart Validation Messages
When a limit is exceeded, the system shows detailed validation messages including: Requested leave days Maximum allowed days Remaining balance Exceeded days This helps employees understand the restriction clearly.
4. Flexible Configuration per Leave Type
Each Time Off Type can have different rules: Some leave types can allow long leaves Others can be strictly controlled This provides flexibility for HR policies.
5. Seamless Integration with Odoo Time Off
Fully integrated with the existing Time Off module: Works with standard leave workflows No changes required in employee interface Automatic validation during leave request submission
Screenshot
Navigate to Time Off Types
From the Time Off dashboard, open the Configuration menu and select Time Off Types. This is where HR/Admin users can manage leave types and configure maximum leave alert rules.
Navigation : Time Off â Configuration â Time Off Types
Maximum Leave Alert Configuration Section
A new Maximum Leave Alert section is available on the Time Off Type form. Here, users can activate the feature, choose the limit calculation method, and define the maximum allowed leave days.
Validation for Invalid Maximum Leave Days
When the alert is enabled, the maximum leave value must be greater than zero. If the value is left as 0.00, Odoo displays a validation message and prevents saving the configuration.
Configure Continuous Days Limit for Unpaid Leave
The Unpaid leave type is configured with a continuous leave limit of 3 days. Employees will not be allowed to submit an unpaid leave request longer than the configured continuous limit.
Maximum Leave Alert Fields in List View
The Time Off Types list includes additional columns for quick review. HR/Admin users can easily see which leave types have the alert enabled and what maximum leave days are configured.
Apply Leave Exceeding Continuous Limit
Marc Demo applies for Unpaid leave from May 27 to Jun 1. Since this request is longer than the configured 3-day continuous limit, the system checks the rule before allowing submission.
Continuous Leave Limit Validation Error
The request is blocked because it exceeds the allowed continuous leave limit. The validation message explains the employee name, leave type, requested days, allowed days, and exceeded days.
Apply Leave Within Continuous Limit
Marc Demo applies for Unpaid leave from May 27 to May 29. The duration is within the allowed 3-day continuous limit, so the request can be submitted successfully.
Submitted Leave Request Awaiting Approval
The valid unpaid leave request is now listed in the Time Off records with the status To Approve. This confirms that requests within the configured limit continue through the normal approval flow.
Configure Monthly Limit for Sick Time Off
The Sick Time Off type is configured with a monthly limit of 5 days. This means each employee can use up to 5 sick leave days within the same month.
Existing Sick Leave Usage in the Month
Marc Demo already has an approved Sick Time Off request from Jun 8 to Jun 10, totaling 3 days. These days are counted as used leave for the June monthly limit.
Apply Sick Leave Exceeding Monthly Limit
Marc Demo applies for another Sick Time Off request from Jun 1 to Jun 3. Because 3 days are already used in June, adding another 3 days would exceed the allowed monthly limit.
Monthly Leave Limit Validation Error
The system blocks the sick leave request because the monthly limit has been exceeded. The message clearly shows already used days, requested days, allowed monthly days, remaining days, and exceeded days.
User Guide
Teams
team@inkerp.com
Suggested Products
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