]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/DeliveryOrderItem.pm
Merge branch 'master' into currency
[mfinanz.git] / SL / DB / DeliveryOrderItem.pm
index f35928850896804d0ee0ade28c51c63325957f50..d50a63ff409df45cf2ba790688dd761c2624a48c 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;