.. include:: /Includes.rst.txt .. _feature-1793063338: ============================================== Feature: Certify the imported sickness reports ============================================== Description =========== Horilla never tracked medical certificates, so the whole imported sickness history would have shown as certificates still missing. The ``leave-requests`` stage now records for every sickness report it creates a certificate of the new source ``migration``, shown as "taken over from Horilla", which covers the whole report. Where Horilla holds an attachment for the sick leave and the copy of its media directory (``MIGRATION_MEDIA_DIR``) has it, the file becomes the file of the certificate; otherwise the certificate has no file and the row is reported as the warning ``certificateFileMissing``. Impact ====== No reminder goes out and the missing-certificates widget stays empty for the imported history. A report is certified once, also on a second run or the delta import. .. index:: CLI, Sickness, package:adsum-migration, package:adsum-leave