ActsAsList: add_to_list() auch aufrufen können, wenn 'position' noch gesetzt ist
[kivitendo-erp.git] / SL / DB / DeliveryOrderItem.pm
index f359288..d50a63f 100644 (file)
@@ -14,7 +14,7 @@ use SL::DB::Helper::CustomVariables (
 __PACKAGE__->meta->make_manager_class;
 __PACKAGE__->meta->add_relationship(
   unit_obj       => {
-    type         => 'one to one',
+    type         => 'many to one',
     class        => 'SL::DB::Unit',
     column_map   => { unit => 'name' },
   },
@@ -24,9 +24,4 @@ __PACKAGE__->meta->initialize;
 
 # methods
 
-sub part {
-  # canonial alias for parts.
-  goto &parts;
-}
-
 1;