forked from ScoDoc/ScoDoc
Fix: edition UE / ref. comp.
This commit is contained in:
parent
060b7ad7cd
commit
21460df51a
@ -124,7 +124,7 @@ class ApcReferentielCompetences(db.Model, XMLModel):
|
||||
"""
|
||||
parcours = self.parcours.order_by(ApcParcours.numero).all()
|
||||
niveaux_by_parcours = {
|
||||
parcour.id: ApcNiveau.niveaux_annee_de_parcours(parcour, annee)
|
||||
parcour.id: ApcNiveau.niveaux_annee_de_parcours(parcour, annee, self)
|
||||
for parcour in parcours
|
||||
}
|
||||
# Cherche tronc commun
|
||||
|
@ -498,12 +498,10 @@ def formsemestre_pvjury(formsemestre_id, format="html", publish=True):
|
||||
# XXX TODO
|
||||
formsemestre = FormSemestre.query.get_or_404(formsemestre_id)
|
||||
if formsemestre.formation.is_apc() and formsemestre.semestre_id % 2 == 0:
|
||||
return redirect(
|
||||
url_for(
|
||||
"notes.formsemestre_jury_but_recap",
|
||||
scodoc_dept=g.scodoc_dept,
|
||||
formsemestre_id=formsemestre_id,
|
||||
)
|
||||
from app.but import jury_but_recap
|
||||
|
||||
return jury_but_recap.formsemestre_saisie_jury_but(
|
||||
formsemestre, readonly=True, mode="recap"
|
||||
)
|
||||
# /XXX
|
||||
footer = html_sco_header.sco_footer()
|
||||
|
Loading…
Reference in New Issue
Block a user