def METHOD_NAME(self):
    """Create an action for every phase that started.
    The timespan in which the phases were started can be set
    in the project with A4_ACTIONS_PHASE_STARTED_HOURS.
    In the projects this is used to notify users if a phase has started.
    """
    phase_ct = ContentType.objects.get_for_model(Phase)
    phases = (
        Phase.objects.filter(module__is_draft=False)
        .filter(module__project__is_draft=False)
        .start_last(hours=self.phase_started_hours)
    )
    for phase in phases:
        project = phase.module.project
        existing_action = Action.objects.filter(
            project=project,
            verb=Verbs.START.value,
            obj_content_type=phase_ct,
            obj_object_id=phase.id,
        ).first()
        if not existing_action:
            Action.objects.create(
                project=project,
                verb=Verbs.START.value,
                obj=phase,
                timestamp=phase.start_date,
            )
        elif existing_action.timestamp < phase.start_date:
            # If the first phases start has been modified and moved
            # ahead, the existing actions timestamp has be adapted to
            # the actual project start.
            existing_action.timestamp = phase.start_date
            existing_action.save()