From 7e34e20757e504e4fdde7fe4f3ebd19e21f20655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A9?= Date: Thu, 7 Oct 2021 17:19:22 +0200 Subject: [PATCH] p_fournisseur has_many p_fournisseur_ref --- app/models/p_fournisseur.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/p_fournisseur.rb b/app/models/p_fournisseur.rb index e585732..c804f32 100644 --- a/app/models/p_fournisseur.rb +++ b/app/models/p_fournisseur.rb @@ -1,6 +1,7 @@ class PFournisseur < ApplicationRecord # has_many :particulars, :as => :owner, :dependent => :destroy has_many :p_contacts, :as => :contactable, :dependent => :destroy + has_many :p_fournisseur_refs acts_as_csv_import :fields => [ :name,