From 6ecd063bfb3240cb4b74d110047b4472a8dc6038 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 25 Aug 2022 12:47:17 +0200 Subject: [PATCH] =?UTF-8?q?Autorise=20inscription=20aux=20groupes=20de=20p?= =?UTF-8?q?arcours=20(non=20=C3=A9ditables)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_formsemestre_inscriptions.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py index 3f95add7..ff755fae 100644 --- a/app/scodoc/sco_formsemestre_inscriptions.py +++ b/app/scodoc/sco_formsemestre_inscriptions.py @@ -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(