fix(dossier): never write dossier log on dossiers brouillons

This commit is contained in:
Paul Chavard 2021-10-05 16:03:56 +02:00
parent cf52e4bfc2
commit d3c1941fbe

View file

@ -584,7 +584,7 @@ class Dossier < ApplicationRecord
end
def log_operations?
!procedure.brouillon?
!procedure.brouillon? && !brouillon?
end
def keep_track_on_deletion?