CsvImport: makemodels nicht klobbern wenn existierende und price_update
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 17 Oct 2014 14:06:44 +0000 (16:06 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 17 Oct 2014 14:06:44 +0000 (16:06 +0200)
SL/Controller/CsvImport/Part.pm

index 75adc97..a78ab8c 100644 (file)
@@ -446,8 +446,6 @@ sub handle_makemodel {
   my $i = 0;
   $_->sortorder(++$i) for @{ $entry->{part}->makemodels };
 
-  $entry->{part}->makemodel($object->makemodel);
-
   $self->save_with_cascade(1) if $found_any;
 }