hr_holidays_public
Integrates public holiday records into HR time off so leave calculations and calendars automatically account for holidays by default.
Key Features
- hr.leave.type: Adds a default-enabled option to exclude public holidays from leave day computations for each leave type.
- hr.leave: Injects employee context when validating and computing leaves so durations and related actions skip public holiday dates.
- hr.leave: Marks public holiday dates as unusual days in time off calendars using employee or company country and state to filter applicable holidays.
- resource.calendar: Drops attendance intervals that fall on public holiday dates whenever public-holiday exclusion is requested in scheduling computations.
- hr.employee: Enriches the employee calendar summary with public holiday all-day events within the selected date range.
- hr.employee.base: Flags employees as absent on days that are public holidays even without an explicit leave record.
- res.users: Adjusts user presence statuses to leave-specific variants when their linked employee is on a public holiday.
- res.partner: Mirrors leave-specific presence statuses on partners when their associated user’s employee is on a public holiday.
- hr.holidays configuration: Adds Time Off configuration menus to manage public holiday records and launch next-year holiday generation actions.