.. include:: /Includes.rst.txt .. _bugfix-1793021698: ======================================================= Bugfix: Absence changes of the import keep their origin ======================================================= Description =========== The import approves leave and reports sickness, which publishes ``AbsencesChanged``. The attendance days it changes were recalculated without an origin, so a violation of the daily-average rule found on them, such as on a day of leave without worked time, was announced and sent as a notification. The message now carries the origin of the change and declares it through ``Originated``, the recalculation keeps it, and the violation is recorded without notifying anybody when it is ``migration``. A change made in the application notifies as before. Impact ====== After the Horilla import, HR, managers and employees get no ``time.ruleViolation`` notification for days that the import's leave and sickness reports recalculated. The violations stay recorded. .. index:: Migration, Notification, Attendance, package:adsum-attendance, package:adsum-leave, package:adsum-working-time