BUGFIX : La démarche modèle clonée n'est plus modèle
This commit is contained in:
parent
9518982166
commit
b048a2b042
1 changed files with 1 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue