X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/24a27ac1eb385d7736a9b727517f5d2341a6417d..b293ff8ad52fc76ba0c44783e3982418114d6b08:/SL/Controller/CsvImport/Inventory.pm diff --git a/SL/Controller/CsvImport/Inventory.pm b/SL/Controller/CsvImport/Inventory.pm index b7d2ce349..e6f679471 100644 --- a/SL/Controller/CsvImport/Inventory.pm +++ b/SL/Controller/CsvImport/Inventory.pm @@ -276,7 +276,7 @@ sub check_part { # This imports inventories when target_qty is given, transfers else. # So we get the actual qty in stock and transfer the difference in case of # a given target_qty -sub check_qty{ +sub check_qty { my ($self, $entry) = @_; my $object = $entry->{object}; @@ -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});