Skip to content

Candidatures: Décliner toutes les candidatures sans réponse (nouvelle + à l’étude) depuis plus de 2 mois [GEN-2294]#5728

Merged
vincentporte merged 4 commits intomasterfrom
vp/GEN-2294-refus-auto-3
Mar 12, 2025
Merged

Candidatures: Décliner toutes les candidatures sans réponse (nouvelle + à l’étude) depuis plus de 2 mois [GEN-2294]#5728
vincentporte merged 4 commits intomasterfrom
vp/GEN-2294-refus-auto-3

Conversation

@vincentporte
Copy link
Copy Markdown

@vincentporte vincentporte commented Mar 6, 2025

suite #5726

🤔 Pourquoi ?

réduire le taux de candidature sans réponse.

🍰 Comment ?

🍣 Refuser automatiquement avec un message adapaté, les candidatures non mises à jour depuis plus de 2 mois, à l'état 'nouvelle' ou 'à l'étude'
🥑 Seuls les demandeurs d'emploi sont notifiés, les prescripteurs ne le sont pas dans un premier temps pour éviter de spammer leur boite mail.
🌪️ Dans la mesure du possible, toutes les candidatures éligibles d'un même candidat sont traitées dans le même batch, même si des candidatures plus anciennes restent en attente.

🚨 À vérifier

NON Mettre à jour le CHANGELOG_breaking_changes.md ?
NON Ajouter l'étiquette « Bug » ?

🏝️ Comment tester ?

Lancer la management command reject_job_applications_after_delay

copies écrans

liste des candidatures

image

detail candidature

image

historique de la candidature

image

@notion-workspace
Copy link
Copy Markdown

@vincentporte vincentporte self-assigned this Mar 6, 2025
@vincentporte vincentporte added the ajouté Ajouté dans le changelog. label Mar 6, 2025
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch 2 times, most recently from 638baad to bee5b94 Compare March 10, 2025 15:41
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread tests/job_applications/test_reject_job_applications_after_delay.py
@vincentporte vincentporte marked this pull request as ready for review March 10, 2025 17:03
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch from 201e3f7 to c9a6caa Compare March 10, 2025 17:06
Comment thread itou/job_applications/enums.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/models.py Outdated
Comment thread itou/job_applications/models.py Outdated
Comment thread itou/job_applications/models.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/templates/apply/refusal_messages/auto.txt Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread tests/job_applications/test_reject_job_applications_after_delay.py
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch 3 times, most recently from a6a0924 to 2318f94 Compare March 11, 2025 11:37
Comment thread tests/job_applications/tests.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/enums.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch from 2318f94 to 276cd7a Compare March 11, 2025 13:53
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch from 276cd7a to 4ad18f3 Compare March 11, 2025 13:54
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/notifications.py Outdated
Comment thread tests/job_applications/test_reject_job_applications_after_delay.py Outdated
Comment thread tests/job_applications/test_reject_job_applications_after_delay.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/tests.py Outdated
Comment thread tests/job_applications/test_reject_job_applications_after_delay.py Outdated
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch 2 times, most recently from 1868733 to d64e3e8 Compare March 12, 2025 07:50
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch from d64e3e8 to 011ec95 Compare March 12, 2025 07:53
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch from 011ec95 to 41943ff Compare March 12, 2025 08:01
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
Comment thread tests/job_applications/test_reject_job_applications_after_delay.py Outdated
Copy link
Copy Markdown
Contributor

@leo-naeka leo-naeka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Comment thread itou/job_applications/management/commands/reject_job_applications_after_delay.py Outdated
@vincentporte vincentporte force-pushed the vp/GEN-2294-refus-auto-3 branch from cf156dd to 7ac6d36 Compare March 12, 2025 09:38
@vincentporte vincentporte added this pull request to the merge queue Mar 12, 2025
Merged via the queue into master with commit 256ef5a Mar 12, 2025
11 checks passed
@vincentporte vincentporte deleted the vp/GEN-2294-refus-auto-3 branch March 12, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ajouté Ajouté dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants