1
0
forked from ScoDoc/ScoDoc

Autorise inscription aux groupes de parcours (non éditables)

This commit is contained in:
Emmanuel Viennet 2022-08-25 12:47:17 +02:00
parent 9b112dfbf9
commit 6ecd063bfb

View File

@ -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(