forked from ScoDoc/ScoDoc
Fix: suppression semestre avec dispense UE
This commit is contained in:
parent
be367de2a1
commit
0f8998c891
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user