BUGFIX : La démarche modèle clonée n'est plus modèle

This commit is contained in:
Kara Diaby 2024-05-06 16:16:24 +00:00
parent 9518982166
commit b048a2b042

View file

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