fix(clone): le lien monavis est reinitialise lors du clonage

This commit is contained in:
Benoit Queyron 2024-06-10 14:55:51 +02:00
parent ab522a3e40
commit a8e382d0d0

View file

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