.. include:: /Includes.rst.txt .. _feature-1791057205: ========================================== Feature: Import the leave types of Horilla ========================================== Description =========== The stage ``leave-types`` takes over Horilla's leave types as ``leave-types.yaml`` says: ``create`` makes a vacation type with a company-wide policy of Horilla's yearly days and carry-forward (cap and expiry), ``timeOffInLieu`` a time off in lieu type, ``sickness`` maps the type to the company's sickness type so its requests become sickness reports, ``existing`` maps it to the adsum type whose id is the key, and ``skip`` leaves it out. A type without entry is created only when it is counted in days, resets yearly or never, does not count holidays and is not compensatory; otherwise it is reported (``leaveTypeNotMappable``). Only a type mapped as ``sickness`` becomes sickness. Impact ====== Only with ``MIGRATION_ENABLED=1``. The sickness type must exist in the company before the stage runs. .. index:: CLI, package:adsum-migration