From c8ab9b9b6c86d4b6f1f8b4be9ae084b793de1673 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 15 Apr 2024 18:06:26 +0200 Subject: [PATCH] =?UTF-8?q?Invalidation=20cache=20lors=20d'une=20erreur=20?= =?UTF-8?q?sur=20association=20UE/Niveau.=20Peut-=C3=AAtre=20cause=20de=20?= =?UTF-8?q?#874.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/ues.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/ues.py b/app/models/ues.py index 33f825c41..d88cc7e67 100644 --- a/app/models/ues.py +++ b/app/models/ues.py @@ -432,6 +432,7 @@ class UniteEns(models.ScoDocModel): self.niveau_competence, parcours ) if not ok: + self.formation.invalidate_cached_sems() self.niveau_competence = prev_niveau # restore return False, error_message