forked from ScoDoc/ScoDoc
Fix call to formation_list
This commit is contained in:
parent
65cdea0c76
commit
e345561d43
@ -33,6 +33,7 @@ from operator import itemgetter
|
||||
from scodoc_manager import sco_mgr
|
||||
from app.scodoc import sco_codes_parcours
|
||||
from app.scodoc import sco_core
|
||||
from app.scodoc import sco_formations
|
||||
from app.scodoc import sco_preferences
|
||||
from app.scodoc import sco_users
|
||||
from app.scodoc.gen_tables import GenTable
|
||||
@ -132,7 +133,9 @@ def formsemestre_enrich(context, sem):
|
||||
from app.scodoc import sco_etud
|
||||
from app.views import notes
|
||||
|
||||
F = notes.formation_list(context, args={"formation_id": sem["formation_id"]})[0]
|
||||
F = sco_formations.formation_list(
|
||||
context, args={"formation_id": sem["formation_id"]}
|
||||
)[0]
|
||||
parcours = sco_codes_parcours.get_parcours_from_code(F["type_parcours"])
|
||||
# 'S1', 'S2', ... ou '' pour les monosemestres
|
||||
if sem["semestre_id"] != NO_SEMESTRE_ID:
|
||||
|
Loading…
Reference in New Issue
Block a user