From 946ea368141749dbf654bb8bdfef8ad39ba048df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 8 Jun 2016 17:11:53 +0200 Subject: [PATCH] =?utf8?q?CsvImport:=20Auftr=C3=A4ge:=20Fallback=20Lieferb?= =?utf8?q?edingungen=20auf=20die=20vom=20Kunden/Lieferanten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Setzt die Lieferbedingungen auf die des Kunden oder Lieferanten des Auftrags, falls in der CSV-Datei keine Lieferbedingungen angegeben sind. --- SL/Controller/CsvImport/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/CsvImport/Order.pm b/SL/Controller/CsvImport/Order.pm index 73240e2e3..923e54bc4 100644 --- a/SL/Controller/CsvImport/Order.pm +++ b/SL/Controller/CsvImport/Order.pm @@ -322,7 +322,7 @@ sub handle_order { if ($vc_obj) { # copy from customer if not given - foreach (qw(payment_id language_id taxzone_id currency_id)) { + foreach (qw(payment_id delivery_term_id language_id taxzone_id currency_id)) { $object->$_($vc_obj->$_) unless $object->$_; } } -- 2.20.1