.. include:: /Includes.rst.txt .. _breaking-1791917567: ======================================================== Breaking: Time tracking is the company module attendance ======================================================== Description =========== The switch "Time tracking is on" of the time tracking settings is gone. Whether a company tracks time is now its company module ``attendance``, which admins switch on the page of the company modules. The migration switches the module off for every company that tracked no time, with the switch off or without saved time tracking settings, so nothing changes for an existing company. A company created afterwards tracks time from the start, as every module is on for a new company. Impact ====== ``getTimeTrackingSettings`` no longer returns ``enabled``, and ``updateTimeTrackingSettings`` refuses it; switch the module with ``updateCompanyModules`` instead. While the module is off, the clock and the punch operations answer 404 with the problem type ``module-disabled`` instead of 403 ``time-tracking-disabled``; a punch through an assistant is still refused with ``time-tracking-disabled``. The column ``time_tracking_settings.enabled`` is dropped. HR, who changed the switch before, now asks an admin. .. index:: API, Database, package:adsum-attendance