From 23a59357e9f43c9a372aefc9092ec2d4a992c119 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 3 Nov 2021 16:11:58 +0100 Subject: [PATCH] Fix: ue_set_internal => cache invalidation --- app/views/notes.py | 2 ++ sco_version.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/notes.py b/app/views/notes.py index b3b2535de..e4162a07b 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -360,6 +360,8 @@ def ue_set_internal(ue_id): ue.is_external = False db.session.add(ue) db.session.commit() + # Invalide les semestres de cette formation + sco_edit_formation.invalidate_sems_in_formation(ue.formation_id) return redirect( url_for( "notes.ue_table", scodoc_dept=g.scodoc_dept, formation_id=ue.formation_id diff --git a/sco_version.py b/sco_version.py index 79b8a736b..3d6c79487 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.0.59" +SCOVERSION = "9.0.60" SCONAME = "ScoDoc"