]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/CsvImport/Part.pm
Changelog angepasst für neue Mandantenkonfigurationen
[mfinanz.git] / SL / Controller / CsvImport / Part.pm
index 7dd4d83e3dcd3e929678da146badfec417025d31..75adc9778e91d9aa5049734fc0f67a7d998464b8 100644 (file)
@@ -442,6 +442,10 @@ sub handle_makemodel {
     }
   }
 
+  # reindex makemodels
+  my $i = 0;
+  $_->sortorder(++$i) for @{ $entry->{part}->makemodels };
+
   $entry->{part}->makemodel($object->makemodel);
 
   $self->save_with_cascade(1) if $found_any;