forked from ScoDoc/DocScoDoc
Fix: suppression semestre avec dispense UE
This commit is contained in:
parent
b651bfb410
commit
3b2f2d8e78
@ -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