fix(clone): le lien monavis est reinitialise lors du clonage
This commit is contained in:
parent
ab522a3e40
commit
a8e382d0d0
1 changed files with 1 additions and 0 deletions
|
@ -559,6 +559,7 @@ class Procedure < ApplicationRecord
|
|||
procedure.closing_notification_brouillon = false
|
||||
procedure.closing_notification_en_cours = false
|
||||
procedure.template = false
|
||||
procedure.monavis_embed = nil
|
||||
|
||||
if !procedure.valid?
|
||||
procedure.errors.attribute_names.each do |attribute|
|
||||
|
|
Loading…
Reference in a new issue