Fix typo (accès modif formsemestres)

This commit is contained in:
Emmanuel Viennet 2025-01-16 14:06:58 +01:00
parent bbc3bbc701
commit 17940d988d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -3,7 +3,7 @@
"Infos sur version ScoDoc"
SCOVERSION = "9.7.53"
SCOVERSION = "9.7.54"
SCONAME = "ScoDoc"