Merge branch 'master' of github.com:kivitendo/kivitendo-erp
[kivitendo-erp.git] / SL / DB / DeliveryOrderItem.pm
index 433e676..29c85a2 100644 (file)
@@ -4,10 +4,13 @@ use strict;
 
 use SL::DB::MetaSetup::DeliveryOrderItem;
 use SL::DB::Helper::CustomVariables (
-  sub_module  => 'delivery_order_item',
+  sub_module  => 'delivery_order_items',
   cvars_alias => 1,
   overloads   => {
-    parts_id => 'SL::DB::Part',
+    parts_id => {
+      class => 'SL::DB::Part',
+      module => 'IC',
+    }
   },
 );
 
@@ -24,9 +27,4 @@ __PACKAGE__->meta->initialize;
 
 # methods
 
-sub part {
-  # canonial alias for parts.
-  goto &parts;
-}
-
 1;