Rose: 'with_args' nach Foreign-Key-Einführung gefixt
[kivitendo-erp.git] / SL / DB / Invoice.pm
index ff821ef..b3adee7 100644 (file)
@@ -25,7 +25,7 @@ __PACKAGE__->meta->add_relationship(
     class        => 'SL::DB::InvoiceItem',
     column_map   => { id => 'trans_id' },
     manager_args => {
-      with_objects => [ 'part' ]
+      with_objects => [ 'parts' ]
     }
   },
 );