forked from ScoDoc/DocScoDoc
Autorise inscription aux groupes de parcours (non éditables)
This commit is contained in:
parent
9b112dfbf9
commit
6ecd063bfb
@ -277,13 +277,8 @@ def do_formsemestre_inscription_with_modules(
|
||||
for group_id in group_ids:
|
||||
if group_id and not group_id in gdone:
|
||||
group = GroupDescr.query.get_or_404(group_id)
|
||||
if group.partition.groups_editable:
|
||||
sco_groups.set_group(etudid, group_id)
|
||||
gdone[group_id] = 1
|
||||
else:
|
||||
log(
|
||||
f"do_formsemestre_inscription_with_modules: group {group:r} belongs to non editable partition"
|
||||
)
|
||||
sco_groups.set_group(etudid, group_id)
|
||||
gdone[group_id] = 1
|
||||
|
||||
# Inscription à tous les modules de ce semestre
|
||||
modimpls = sco_moduleimpl.moduleimpl_withmodule_list(
|
||||
|
Loading…
Reference in New Issue
Block a user