diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py index 9e9324255eb24f413004a5c845a1af2234c2eeb7..73c73076dde22e79fae8d48dfcb440bf1616886b 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")