Fix formsemestre_jury_but_erase (cas sans formsemestre)

This commit is contained in:
Emmanuel Viennet 2023-09-02 21:40:54 +02:00 committed by iziram
parent 1fd54ade84
commit 4e6220b39f

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
): ):