.. include:: /Includes.rst.txt .. _bugfix-1793208878: ==================================================================== Bugfix: Charge a recorded absence before the cut-over to the opening ==================================================================== Description =========== A vacation that HR recorded afterwards for a day before the cut-over of the migration was refused with ``insufficientBalance``, also with ``overrideLeaveRules``, because the balance is 0 before the opening entries. The balance came from the previous system without that day, so it is too high by exactly the days that are missing there. A request recorded as already decided now charges such a day against the opening balance, carried-over leave first, effective on the date of the opening, the way the import charges requests that nobody decided. The balance still has to cover the days: the days before the opening count at the opening. Impact ====== Only requests that HR records as already decided and that have days before the opening entry of the employee and the leave type. Other requests and employees without an opening entry are checked as before. The preview shows the balance at the opening for such a request. .. index:: API, package:adsum-leave