Inventory-Import keine Spalte target_qty
authorJan Büren <jan@kivitendo.de>
Thu, 27 Jan 2022 11:25:47 +0000 (12:25 +0100)
committerJan Büren <jan@kivitendo.de>
Thu, 27 Jan 2022 11:25:47 +0000 (12:25 +0100)
SL/Controller/CsvImport/Inventory.pm

index f67a3e7..e6f6794 100644 (file)
@@ -284,7 +284,7 @@ sub check_qty {
   # parse qty (may be float values)
   if (exists $entry->{raw_data}->{target_qty}) {
     $entry->{raw_data}->{target_qty} = $::form->parse_amount(\%::myconfig, $entry->{raw_data}->{target_qty});
-    $object->target_qty($entry->{raw_data}->{target_qty});
+    $object->target_qty($entry->{raw_data}->{target_qty});
   }
   if (exists $entry->{raw_data}->{qty}) {
     $entry->{raw_data}->{qty}        = $::form->parse_amount(\%::myconfig, $entry->{raw_data}->{qty});