experts_procedure should not be optional
This commit is contained in:
parent
25c85dd0f9
commit
0b22788d60
18 changed files with 59 additions and 53 deletions
|
@ -22,7 +22,7 @@ class Avis < ApplicationRecord
|
|||
|
||||
belongs_to :dossier, inverse_of: :avis, touch: true, optional: false
|
||||
belongs_to :instructeur, optional: true
|
||||
belongs_to :experts_procedure, optional: true
|
||||
belongs_to :experts_procedure, optional: false
|
||||
belongs_to :claimant, class_name: 'Instructeur', optional: false
|
||||
|
||||
has_one_attached :piece_justificative_file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue