.. include:: /Includes.rst.txt .. _feature-1791523870: ============================================ Feature: Import the asset reports of Horilla ============================================ Description =========== The stage ``asset-reports`` takes over Horilla's reports on an asset with copies of their documents, on the day they were written. The documents are read from ``MIGRATION_MEDIA_DIR`` like the allocation photos; a missing one (``documentMissing``), one that is not a JPEG, PNG or PDF of at most 10 MB (``documentRefused``) and all of them without media directory (``documentsNotCopied``) are reported. Horilla links a report to the asset only, so it belongs to no allocation; a report without title is titled with its day. Impact ====== The reporter of an asset report becomes optional in the database (one migration): imported reports were written by nobody with an account in adsum. Only with ``MIGRATION_ENABLED=1`` and the asset package installed. .. index:: CLI, Database, package:adsum-assets