forked from ScoDoc/ScoDoc
Pas de warning si UE/module bonus non associé à un niveau
This commit is contained in:
parent
5e0922a4bf
commit
16cc35f63c
@ -697,8 +697,8 @@ def module_edit(
|
||||
if ue is not None:
|
||||
annee = f"BUT{(orig_semestre_idx+1)//2}"
|
||||
app_critiques = ApcAppCritique.app_critiques_ref_comp(ref_comp, annee)
|
||||
descr += (
|
||||
[
|
||||
if ue.niveau_competence is not None:
|
||||
descr += [
|
||||
(
|
||||
"app_critiques",
|
||||
{
|
||||
@ -721,8 +721,9 @@ def module_edit(
|
||||
},
|
||||
)
|
||||
]
|
||||
if (ue.niveau_competence is not None)
|
||||
else [
|
||||
else:
|
||||
if module.ue.type == sco_codes_parcours.UE_STANDARD:
|
||||
descr += [
|
||||
(
|
||||
"app_critiques",
|
||||
{
|
||||
@ -736,7 +737,6 @@ def module_edit(
|
||||
},
|
||||
)
|
||||
]
|
||||
)
|
||||
else:
|
||||
descr += [
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user