Required Apps |
•
Leaves (hr_holidays)
• Employees (hr) |
Lines of code | 110 |
Technical Name |
leave_sandwich_rule |
License | AGPL-3 |
Website | https://www.cybrosys.com |
Required Apps |
•
Leaves (hr_holidays)
• Employees (hr) |
Lines of code | 110 |
Technical Name |
leave_sandwich_rule |
License | AGPL-3 |
Website | https://www.cybrosys.com |

Sandwich Rule
Add Sandwich Rule in Employee Leaves.

Explore this module
Overview
The module helps HR to apply sandwich rule over employees, when they take leave in midst of two general leaves. Sandwich rule shall be applied after considering the start and end days of the general leaves. The module gets with an option to disable this feature for specific employees, also an option for showing the sandwich leave notification when employees apply their leaves.
Features

Sandwich rule can be set on working times

This rule can be disabled for specific employees

Option for showing sandwich leave notification, when applying leaves
Screenshots
After installation, go to working time> Enable/Disable Sandwich Rule.

If you want, you can disable this feature for specific employees. Check the show notification option for getting sandwhich leave notification when applying for leaves.

Here we can see the sandwich rule applied in leaves

Video

Suggested Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Need Help?

Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Duration of leaves
Hello Team,
When I select the dates From 06/01/2022 To 07/01/2022 it gives the duration 33 days.
it is wrong. it need to display 31 days.
Thank you
Re: Duration of leaves
Including the 'from-date(06/01/2022)' and 'to-date(07/01/2022)' total working days are 23. When applying the sandwich rule extra two days for 5 Friday. Thus making the total duration 23+(2*5)=33.