ajout id orebut dans les niveaux de comp.

This commit is contained in:
Emmanuel Viennet 2022-01-08 17:22:51 +01:00
parent c362ccef0e
commit 72b8e04064
2 changed files with 4 additions and 1 deletions

View File

@ -271,7 +271,10 @@ class ApcAnneeParcours(db.Model, XMLModel):
return {
"ordre": self.ordre,
"competences": {
x.competence.titre: {"niveau": x.niveau}
x.competence.titre: {
"niveau": x.niveau,
"id_orebut": x.competence.id_orebut,
}
for x in self.niveaux_competences
},
}