---
title: "Bugfix: Grant leave to a hire of the current year at once"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1791275916@main"
source: "Changelog/1.0.0/Bugfix-1791275916-GrantLeaveToAHireOfTheCurrentYearAtOnce.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Grant leave to a hire of the current year at once {#bugfix-1791275916}

## Description {#description}

An employee hired during the year had no balance of yearly policies until the next year-start run, because the
recalculation after a hire only adjusts years that already have a grant. A hire in the current year now runs the
year-start grant for the new employee alone, pro-rated from the entry date, under every policy that applies, for
example one scoped to the employment type. Regression tests prove that a new type is offered at once and that a policy
without scope grants every employee.

## Impact {#impact}

Each such hire records a leave run for the one employee. Hires backdated into earlier years get no grant; their years
come from opening balances.
