From 0a07f54d24f43b7e20cf144f7ebff852cac00a5c Mon Sep 17 00:00:00 2001 From: "antoine.pourthie.etu" <antoine.pourthie.etu@univ-lille.fr> Date: Wed, 26 Feb 2025 12:08:15 +0000 Subject: [PATCH] =?UTF-8?q?Appel=20=C3=A0=20la=20methode=20de=20notificati?= =?UTF-8?q?on=20de=20d=C3=A9mission=20apr=C3=A8s=20la=20confirmation=20du?= =?UTF-8?q?=20formulaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_formsemestre_inscriptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py index 9e932425..73c73076 100644 --- a/app/scodoc/sco_formsemestre_inscriptions.py +++ b/app/scodoc/sco_formsemestre_inscriptions.py @@ -141,8 +141,12 @@ def do_formsemestre_demission( db.session.add(event) db.session.commit() sco_cache.invalidate_formsemestre(formsemestre_id=formsemestre_id) + if etat_new == scu.DEMISSION: flash("Démission enregistrée") + + # -- notification de demission + formsemestre._notify_demission(etud) elif etat_new == scu.DEF: flash("Défaillance enregistrée") -- GitLab