From 17940d988de506999f1b94790eafa66d03ca0f2d Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 16 Jan 2025 14:06:58 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20typo=20(acc=C3=A8s=20modif=20formsemestre?= =?UTF-8?q?s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/formsemestre.py | 2 +- sco_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/formsemestre.py b/app/models/formsemestre.py index 21e719621..cfcc47567 100644 --- a/app/models/formsemestre.py +++ b/app/models/formsemestre.py @@ -657,7 +657,7 @@ class FormSemestre(models.ScoDocModel): ): # pas chef de dept. if not self.resp_can_edit or not self.est_responsable(user): return False - return allow_locked or not self.etat + return allow_locked or self.etat def est_courant(self) -> bool: """Vrai si la date actuelle (now) est dans le semestre diff --git a/sco_version.py b/sco_version.py index 56bbddc83..4b1296bda 100644 --- a/sco_version.py +++ b/sco_version.py @@ -3,7 +3,7 @@ "Infos sur version ScoDoc" -SCOVERSION = "9.7.53" +SCOVERSION = "9.7.54" SCONAME = "ScoDoc"