Fix formsemestre_jury_but_erase (cas sans formsemestre)

This commit is contained in:
Emmanuel Viennet 2023-09-02 21:40:54 +02:00
parent ee5eacc0a5
commit b2826c4838

View File

@ -867,6 +867,7 @@ class DecisionsProposeesAnnee(DecisionsProposees):
for dec_ue in self.decisions_ues.values(): for dec_ue in self.decisions_ues.values():
if ( if (
dec_ue dec_ue
and dec_ue.formsemestre
and self.formsemestre and self.formsemestre
and dec_ue.formsemestre.id == self.formsemestre.id and dec_ue.formsemestre.id == self.formsemestre.id
): ):