1
0
forked from ScoDoc/ScoDoc

Merge branch 'tmp'

This commit is contained in:
Emmanuel Viennet 2024-02-02 15:29:45 +01:00
commit 838ae7cf7e

View File

@ -417,7 +417,7 @@ class DecisionsProposeesAnnee(DecisionsProposees):
+ '</div><div class="warning">'.join(messages)
+ "</div>"
)
self.codes = [self.codes[0]] + sorted(self.codes[1:])
self.codes = [self.codes[0]] + sorted((c or "") for c in self.codes[1:])
def passage_de_droit_en_but3(self) -> tuple[bool, str]:
"""Vérifie si les conditions supplémentaires de passage BUT2 vers BUT3 sont satisfaites"""