From 8fd696ff7e1a90b137ab8822d61d042f0ab9eff3 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 26 Jun 2022 09:52:50 +0200 Subject: [PATCH] =?UTF-8?q?Jury=20BUT:=20code=20par=20d=C3=A9faut=20RED=20?= =?UTF-8?q?si=201=20RCUE=20<=208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/but/jury_but.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/but/jury_but.py b/app/but/jury_but.py index b5dbdc58..a64ac428 100644 --- a/app/but/jury_but.py +++ b/app/but/jury_but.py @@ -311,7 +311,12 @@ class DecisionsProposeesAnnee(DecisionsProposees): self.codes = [sco_codes.PASD, sco_codes.ADJ] + self.codes self.explanation = expl_rcues elif self.valide_moitie_rcue: # mais au moins 1 rcue insuffisante - self.codes = [sco_codes.PAS1NCI, sco_codes.ADJ] + self.codes + self.codes = [ + sco_codes.RED, + sco_codes.NAR, + sco_codes.PAS1NCI, + sco_codes.ADJ, + ] + self.codes self.explanation = expl_rcues + f" et {self.nb_rcues_under_8} < 8" else: self.codes = [sco_codes.RED, sco_codes.NAR, sco_codes.ADJ] + self.codes