1
0
forked from ScoDoc/ScoDoc

Fix: suppression semestre avec dispense UE

This commit is contained in:
Emmanuel Viennet 2023-02-02 19:51:50 +01:00
parent b651bfb410
commit 3b2f2d8e78

View File

@ -1629,7 +1629,9 @@ def do_formsemestre_delete(formsemestre_id):
req = """DELETE FROM notes_formsemestre_etapes
WHERE formsemestre_id=%(formsemestre_id)s"""
cursor.execute(req, {"formsemestre_id": formsemestre_id})
# --- Dispenses d'UE
req = """DELETE FROM "dispenseUE" WHERE formsemestre_id=%(formsemestre_id)s"""
cursor.execute(req, {"formsemestre_id": formsemestre_id})
# --- Destruction du semestre
sco_formsemestre._formsemestreEditor.delete(cnx, formsemestre_id)