From a8e382d0d07369977111ce5b70e36841d605946d Mon Sep 17 00:00:00 2001 From: Benoit Queyron Date: Mon, 10 Jun 2024 14:55:51 +0200 Subject: [PATCH] fix(clone): le lien monavis est reinitialise lors du clonage --- app/models/procedure.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/procedure.rb b/app/models/procedure.rb index af398a991..3d6c05b1f 100644 --- a/app/models/procedure.rb +++ b/app/models/procedure.rb @@ -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|