]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Order.pm
LinkedRecords-Helfer: Funktionsname privat gemacht
[mfinanz.git] / SL / DB / Order.pm
index 0c46f567373703caa85f634c35c24bd5cf9acd68..b23e1da82cfdc22a8845aedb37f782e6928af008 100644 (file)
@@ -23,11 +23,11 @@ __PACKAGE__->meta->add_relationship(
     class        => 'SL::DB::OrderItem',
     column_map   => { id => 'trans_id' },
     manager_args => {
-      with_objects => [ 'part' ]
+      with_objects => [ 'parts' ]
     }
   },
   periodic_invoices_config => {
-    type                   => 'one to many',
+    type                   => 'one to one',
     class                  => 'SL::DB::PeriodicInvoicesConfig',
     column_map             => { id => 'oe_id' },
   },