diff --git a/app/models/type_de_champ.rb b/app/models/type_de_champ.rb index 27ac435fd..baf0a3e0d 100644 --- a/app/models/type_de_champ.rb +++ b/app/models/type_de_champ.rb @@ -35,7 +35,7 @@ class TypeDeChamp < ApplicationRecord belongs_to :parent, class_name: 'TypeDeChamp' has_many :types_de_champ, -> { ordered }, foreign_key: :parent_id, class_name: 'TypeDeChamp', inverse_of: :parent, dependent: :destroy - store_accessor :options, :cadastres, :quartiers_prioritaires, :parcelles_agricoles, :old_pj, :drop_down_options + store_accessor :options, :cadastres, :quartiers_prioritaires, :parcelles_agricoles, :old_pj, :drop_down_options, :skip_pj_validation delegate :tags_for_template, to: :dynamic_type class WithIndifferentAccess