From b57ed75754b77b259eff749ecbac7195e8af59b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A9?= Date: Wed, 13 Oct 2021 18:23:10 +0200 Subject: [PATCH] add price_line to csv_element --- app/models/price_document.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/price_document.rb b/app/models/price_document.rb index 5161238..1e5a9b1 100644 --- a/app/models/price_document.rb +++ b/app/models/price_document.rb @@ -755,6 +755,7 @@ class PriceDocument < ApplicationRecord n.save import_csv.import_csv_elements << ImportCsvElement.new(:element => n) + import_csv.import_csv_elements << ImportCsvElement.new(:element => price_line) end end