Fix: jury BUT si UE non associée à comp.
This commit is contained in:
parent
1fa8375b11
commit
cf900d2027
@ -107,9 +107,17 @@ def show_etud(deca: DecisionsProposeesAnnee, read_only: bool = True) -> str:
|
||||
</div>"""
|
||||
)
|
||||
dec_rcue = deca.decisions_rcue_by_niveau.get(niveau.id) # peut être None
|
||||
ues = [ue for ue in deca.ues_impair if ue.niveau_competence.id == niveau.id]
|
||||
ues = [
|
||||
ue
|
||||
for ue in deca.ues_impair
|
||||
if ue.niveau_competence and ue.niveau_competence.id == niveau.id
|
||||
]
|
||||
ue_impair = ues[0] if ues else None
|
||||
ues = [ue for ue in deca.ues_pair if ue.niveau_competence.id == niveau.id]
|
||||
ues = [
|
||||
ue
|
||||
for ue in deca.ues_pair
|
||||
if ue.niveau_competence and ue.niveau_competence.id == niveau.id
|
||||
]
|
||||
ue_pair = ues[0] if ues else None
|
||||
# Les UEs à afficher, toujours en readonly
|
||||
# sur le formsemestre de l'année précédente du redoublant
|
||||
|
Loading…
Reference in New Issue
Block a user