TIP: You can type at any time to perform a new search.
India - Time Off
l10n_in_hr_holidays · odoo/odoo
Security findings
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Human Resources/Time Off
- Folder size
- 0.08 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- None
- Last tracking update
- 2026-09-28 18:31:22
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier Morel, Raphael Collet, Odoo Translation Bot, Yannick Tivisse, Victor Feyens, Tiffany Chang (tic), Romain Estievenart, Yash Vaishnav, Dylan Kiss (dyki), ravb-odoo, ahta, nikj-odoo, Michaël Mattiello, bona-odoo, kareem, romc-odoo, Dhwani Patel, Saurabh, Hashem Elmaleeh, assh-odoo, Martin Lefèvre (mlef), ELCO, tshe-odoo, Faruk Avcı, 3amo-magdy, Amr Yasser, SurryaT10, Jean Schoenlaub, mohammed84farouk
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
The Indian Time Off module provides additional features to the application. With it, you'll be able to define Sandwich Leaves on your time type, including weekends or holidays in the duration of the employee leave's request.
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_leave_view_form_inherit |
hr.leave.view.form.inherit | hr.leave | form | Inherits hr_holidays.hr_leave_view_form |
hr_work_entry_type_view_form_inherit |
hr.work.entry.type.form.inherit | hr.work.entry.type | form | Inherits hr_holidays.hr_work_entry_type_view_form |
l10n_in_hr_leave_optional_holiday_view_list |
l10n.in.hr.leave.optional.holiday | list | New | |
l10n_in_hr_leave_optional_holiday_view_search |
l10n.in.hr.leave.optional.holiday | search | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (1)-
get_special_days_data(self, date_start, date_end)@api.model
New fields (1)
-
l10n_in_contains_sandwich_leavesBoolean
-
action_approve(self, check_state=True) -
action_refuse(self)
New fields (3)
-
l10n_in_is_limited_to_optional_daysBooleanhelp='Enable this option to restrict Flexi Leave to specific days, ensuring that only days marked as\n Optional Holidays can be selected. This helps validate that employees can only choose days from the designated\n Optional Holiday list for their Flexi Leave.'string='Is Limited To Optional Days' -
l10n_in_is_sandwich_leaveBooleanhelp='If a leave is covering holidays, the holiday period will be included in the requested time.\n The time took in addition will have the same treatment (allocation, pay, reports) as the initial request.\n Holidays includes public holidays, national days, paid holidays and week-ends.'string='Is Sandwich Leave' -
l10n_in_sandwich_policySelectiondefault='full'help='Weekends and Company holidays – Count both weekends and company holidays between two leave days.\n Weekends Only – Apply only if weekends fall between leave days.\n Company holidays Only – Apply only if public holidays fall between leave days.'selection=[('full', 'Weekends and Company holidays'), ('weekend', 'Weekends Only'), ('public_holiday', 'Company holidays Only')]string='Sandwich Leave Policy'
No public methods.
New fields (3)
-
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
dateDaterequired=True -
nameCharrequired=True
-
default_get(self, field_list=None)@api.model
Loading…
Loading…