From 1a841c3e6d3c5225eb753b2215dbf2a40d4860b2 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 15 Nov 2023 12:31:28 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20ne=20consid=C3=A8re=20pas=20les=20valida?= =?UTF-8?q?tions=20externes=20pour=20d=C3=A9terminer=20si=20un=20semestre?= =?UTF-8?q?=20a=20des=20d=C3=A9cisions=20de=20jury?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_cursus_dut.py | 2 +- app/scodoc/sco_moduleimpl_status.py | 8 ++++---- sco_version.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/scodoc/sco_cursus_dut.py b/app/scodoc/sco_cursus_dut.py index e3bbe0f67..f19fa00f3 100644 --- a/app/scodoc/sco_cursus_dut.py +++ b/app/scodoc/sco_cursus_dut.py @@ -987,7 +987,7 @@ def formsemestre_has_decisions(formsemestre_id): """ cnx = ndb.GetDBConnexion() validations = scolar_formsemestre_validation_list( - cnx, args={"formsemestre_id": formsemestre_id} + cnx, args={"formsemestre_id": formsemestre_id, "is_external": False} ) return len(validations) > 0 diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index b68726391..b6e358168 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -163,7 +163,7 @@ def _ue_coefs_html(coefs_lst) -> str: """ + "\n".join( [ - f"""
{coef}
{ue.acronyme}
""" for ue, coef in coefs_lst @@ -363,8 +363,8 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None): if formsemestre_has_decisions(formsemestre_id): H.append( """""" ) @@ -419,7 +419,7 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None): if nb_evaluations > 0: top_table_links += f""" Trier par date """ diff --git a/sco_version.py b/sco_version.py index e8ed7d5f8..5be4f7743 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.54" +SCOVERSION = "9.6.55" SCONAME = "ScoDoc"