Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 9 Odoo series since 11.0

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

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

Description

The calculation of each leave can exclude rest public holiday, depending on the leave type configuration.

In HR holiday app, public holiday will be displayed as unusual days (grey like weekends).

Dependencies

Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
hr_attendance_report_theoretical_time

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
edit_holiday_status_form hr.leave.type.form hr.leave.type form Inherits hr_holidays.edit_holiday_status_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (1)
  • is_public_holiday Boolean
    compute='_compute_is_public_holiday' string='Public Holiday Today'
Public methods (1)
  • get_public_holidays_data(self, date_start, date_end)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • get_unusual_days(self, date_from, date_to=None)
    @api.model

New fields (1)
  • exclude_public_holidays Boolean
    default=True help='If enabled, public holidays are skipped in leave days calculation.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…