Skip to Content

Leave Before Days Alert

by

11.23

14.0 0
Live Preview
Required Apps Time Off (hr_holidays)
Calendar (calendar)
Employees (hr)
Discuss (mail)
Technical Name sh_leave_days_alert
License OPL-1
You bought this module and need support ? Click here!
Technical Name sh_leave_days_alert
License OPL-1

Introduction

The "Leave Before Days Alert" module is a simple yet powerful human resources tool designed to enforce company policies regarding prior notice for leave requests. This application allows businesses to configure a specific number of days in advance that an employee must request a particular type of leave. By integrating this essential rule directly into the leave request workflow, the module ensures that managers have sufficient time to plan for staff absences, maintaining operational continuity and fairness. This is a critical solution for any organization that needs to prevent last-minute leave requests from disrupting its schedule.

Key Features

  • Set a mandatory prior notice period for any leave type.

  • Restrict employees from submitting leave requests that do not meet the prior notice requirement.

  • Provide an immediate warning message to employees attempting to apply for leave without sufficient notice.

  • Customize the alert message to inform employees of the specific policy.

  • Easily enable or disable the feature on a per-leave-type basis.

  • Allow HR managers to bypass the rule for special circumstances.

Benefits

  • Enforces company leave policies automatically, reducing administrative overhead.

  • Prevents last-minute absences that can impact productivity and operations.

  • Provides a transparent and clear system for employees to understand leave rules.

  • Improves workforce planning by giving managers adequate time to adjust schedules.

  • Enhances overall HR efficiency and policy compliance.

Compatibility & Technical Details

This module is compatible with Odoo. The required modules include Time Off (hr_holidays), Calendar (calendar), Employees (hr), and Discuss (mail). The technical name of the module is sh_leave_days_alert. It operates under the Odoo Proprietary License v1.0 (OPL-1).

Installation Steps:

  1. Add the sh_leave_days_alert module folder to your Odoo add-ons directory.

  2. In your Odoo instance, activate developer mode and navigate to the Apps menu.

  3. Click "Update Apps List."

  4. Search for "Leave Before Days Alert" or its technical name, sh_leave_days_alert, and click "Install."

  5. After installation, configure the prior notice days for each leave type from the module's settings.

Leave Before Days Alert


Some leaves can be applied before some specific days. Forex. hajj leave applicable before 15 days. now if someone tries to apply to leave for hajj before 1 day then it will give an error message. so this module restricts the user to apply for leave before a specific time duration. Very easy to configured days in leave type.

Features


Easy to configured in leave type

Enable/Disable for specific leave type

Restrict user on specific leaves

This app is compatible with Odoo's Multi-Company Feature.

Version


v14.0.1 (2 nd November 2020)
  • Initial Release

For any leave type if it is required to inform prior before few days, than for that leave type set "Leave before day alert" to True. If it is set to true it will ask for "Leave before days". Leave start from date will be compare with today's date and will check that if we inform prior to that specified date.


One Employee created.


Now when that employee takes leave and that required prior to be inform, e.g. legal leave that required 3 days prior to inform. If difference between current date and leave from date is not as per requirement.


He will not allow to request for that leave and will be warned with warning message.


Create an Hr Manager also have access to leaves.


Now Hr Manager have rights to create or edit leave request for that employee without checking any condition. Hr manager can create or edit for other employee without any restriction. But when he create leave request for self than all condition will apply as per leave type selected.


Multi-Languages


We have added predefined some languages(English, German / Deutsch, Arabic, Spanish / Español) in module, If you want to add other language you can contact us on [email protected] . We use google translator tools for multi-languages so possible translations can be not accurate. we accept suggest to make more accurate translations also on [email protected] .

english germany arab spanish

You May Also Like!


Help & Support

You will get free 90 days support and assistance in case of any issues


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.