Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 4 models 4 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
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_leaves Boolean
Public methods (2)
  • action_approve(self, check_state=True)
  • action_refuse(self)

New fields (3)
  • 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.' string='Is Limited To Optional Days'
  • 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.' string='Is Sandwich Leave'
  • l10n_in_sandwich_policy Selection
    default='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'
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…

Loading…