.. include:: /Includes.rst.txt .. _feature-1791236916: =========================================================== Feature: Give holidays to job positions and named employees =========================================================== Description =========== A holiday rule can also be scoped to job positions (``scope.jobPositionIds``) and to individual employees (``scope.employeeIds``). Every non-empty list must match the employee on the date, so the scope follows a move to another location or position. Holidays of named employees are listed only to them, their managers and HR, never in a list by location. Working days and leave charge follow the scope, where Horilla's leave calculation ignored department and position scoping. Impact ====== New columns ``holiday_rule.job_position_ids`` and ``holiday_rule.employee_ids``; ``EmploymentOnDay`` of the core carries the job position. .. index:: API, Database, Frontend, package:adsum-working-time, package:adsum-core