oca-hr/odoo-bringout-oca-hr-holidays-hr_holidays_public/hr_holidays_public/readme/ROADMAP.rst
Ernad Husremovic dfcda4100c Move all OCA HR modules from oca-technical to dedicated oca-hr submodule
Reorganized 67 HR-related modules for better structure:
- Moved all odoo-bringout-oca-hr-* packages from packages/oca-technical/
- Now organized in dedicated packages/oca-hr/ submodule
- Includes attendance, expense, holiday, employee, and contract modules
- Maintains all module functionality while improving project organization

This creates a cleaner separation between general technical modules
and HR-specific functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 17:11:28 +02:00

16 lines
979 B
ReStructuredText

In Odoo 12.0, `_leave_intervals()` returns `Intervals` which is a list of
tuples (start_timestamp, end_timestamp, `resource.calendar.leaves` record).
Since this module does not operate with `resource.calendar.leaves`, it's
setting third component of a tuple to a `hr.holidays.public.line` record.
This may or may not be a problem, yet since this component is also being set to
`resource.calendar.attendance` records in `_attendance_intervals()`, seems it
should be ok.
There are no restrictions to block users from modifying or removing calendar
events linked to public holidays. There's a suggestion to overload `write` and
`unlink` methods of `calendar.event`, but it might have other impacts like
users not being able to edit event tags, or even custom fields.
Regional public holidays are shown in the public calendar. The regions will be
noted in the description of the event, but it'll be shown to all users. It'd
be good to have it show only for users in these regions.