modify model
This commit is contained in:
parent
1b80bfcd5d
commit
217793c5c8
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
|
||||
def read_only?
|
||||
en_instruction? || accepte? || refuse? || sans_suite?
|
||||
en_instruction? || accepte? || refuse? || sans_suite? || procedure.discarded? || procedure.close? && brouillon?
|
||||
end
|
||||
|
||||
def can_transition_to_en_construction?
|
||||
|
|
Loading…
Reference in a new issue