From 7b1aec46e195fed05e09c87d23ac128d12056ac7 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 24 Jun 2022 15:24:33 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20enregistrement=20codes=20d=C3=A9cisions?= =?UTF-8?q?=20BUT=20+=20moyennes=20UEs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/but/jury_but.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/but/jury_but.py b/app/but/jury_but.py index 429f96a73..8db372b1f 100644 --- a/app/but/jury_but.py +++ b/app/but/jury_but.py @@ -493,6 +493,7 @@ class DecisionsProposeesAnnee(DecisionsProposees): f"code annee {html.escape(code)} invalide pour formsemestre {html.escape(self.formsemestre)}" ) if code == self.code_valide: + self.recorded = True return # no change if self.validation: db.session.delete(self.validation) @@ -572,6 +573,7 @@ class DecisionsProposeesRCUE(DecisionsProposees): f"code UE invalide pour ue_id={self.ue.id}: {html.escape(code)}" ) if code == self.code_valide: + self.recorded = True return # no change parcours_id = self.parcour.id if self.parcour is not None else None if self.validation: @@ -679,6 +681,7 @@ class DecisionsProposeesUE(DecisionsProposees): f"code UE invalide pour ue_id={self.ue.id}: {html.escape(code)}" ) if code == self.code_valide: + self.recorded = True return # no change if self.validation: db.session.delete(self.validation) @@ -691,6 +694,7 @@ class DecisionsProposeesUE(DecisionsProposees): formsemestre_id=self.formsemestre.id, ue_id=self.ue.id, code=code, + moy_ue=self.moy_ue, ) Scolog.logdb( method="jury_but",