From b048a2b042b5c9e3f313a1fde2043b7e0a0259b6 Mon Sep 17 00:00:00 2001 From: Kara Diaby Date: Mon, 6 May 2024 16:16:24 +0000 Subject: [PATCH] =?UTF-8?q?BUGFIX=20:=20La=20d=C3=A9marche=20mod=C3=A8le?= =?UTF-8?q?=20clon=C3=A9e=20n'est=20plus=20mod=C3=A8le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/procedure.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/procedure.rb b/app/models/procedure.rb index 827f417d5..fe7005599 100644 --- a/app/models/procedure.rb +++ b/app/models/procedure.rb @@ -550,6 +550,7 @@ class Procedure < ApplicationRecord procedure.closing_details = nil procedure.closing_notification_brouillon = false procedure.closing_notification_en_cours = false + procedure.template = false if !procedure.valid? procedure.errors.attribute_names.each do |attribute|