Repository
odoo/odoo · module folder
Module version
1.0
Category
Human Resources/Time Off
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 06:47:04
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Yannick Tivisse, Julien Castiaux, Gorash, Yash Vaishnav, Dylan Kiss (dyki), rmun-odoo, rame-odoo, ahta, pish-odoo, bona-odoo, Dhwani Patel, dhka-odoo, saurabh, tshe-odoo, dhbr-odoo, Amr Yasser (amry)
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 off type, including weekends or holidays in the duration of the employee leave's request.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_leave_type_view_form_inherit hr.leave.type.form.inherit hr.leave.type form Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form_inherit hr.leave.view.form.inherit hr.leave form Inherits hr_holidays.hr_leave_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_leaves Boolean
Public methods (2)
  • action_approve(self, check_state=True)
  • action_refuse(self)

New fields (2)
  • l10n_in_is_limited_to_optional_days Boolean
    help='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.'
  • l10n_in_is_sandwich_leave Boolean
    help='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.'
Public methods (0)

No public methods.

New fields (3)
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company'
  • date Date
    required=True
  • name Char
    required=True
Public methods (1)
  • default_get(self, field_list=None)
    @api.model

Loading…