]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Part.pm
BackgroundJobHistory getmodels
[mfinanz.git] / SL / Controller / Part.pm
index 97c0159cc77ac2f0ff2d2b24f2aa2f27d79d1ea2..c8b0c311b3cbd441d458f8a14837c44644555366 100644 (file)
@@ -71,7 +71,7 @@ sub action_part_picker_result {
 }
 
 sub init_parts {
-  $_[0]->models->get (with_objects => [ qw(unit_obj) ]);
+  $_[0]->models->get;
 }
 
 sub init_models {
@@ -86,7 +86,8 @@ sub init_models {
         dir  => 1,
       },
       partnumber  => t8('Partnumber'),
-    }
+    },
+    with_objects => [ qw(unit_obj) ],
   );
 }