forked from ScoDoc/DocScoDoc
Fix #483
This commit is contained in:
parent
8c5da97350
commit
e758c8778e
@ -121,7 +121,9 @@ class Module(db.Model):
|
||||
présentation par type (res, sae), parcours, type, numéro
|
||||
"""
|
||||
if (
|
||||
len(self.parcours) == self.formation.referentiel_competence.parcours.count()
|
||||
self.formation.referentiel_competence is None
|
||||
or len(self.parcours)
|
||||
== self.formation.referentiel_competence.parcours.count()
|
||||
or len(self.parcours) == 0
|
||||
):
|
||||
key_parcours = ""
|
||||
|
Loading…
Reference in New Issue
Block a user