Do not copy service info when cloning from library

This commit is contained in:
Paul Chavard 2018-06-28 11:33:10 +02:00
parent faf08203df
commit 93d6d72df5

View file

@ -222,6 +222,10 @@ class Procedure < ApplicationRecord
procedure.cloned_from_library = from_library
procedure.parent_procedure = self
if from_library
procedure.service = nil
end
procedure
end