X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/dd6282f6e20d531511ae35cadc491a8c7ab8bad5..260c52c3a38dfc7d812550c6de511b0f9a106f69:/SL/DB/Order.pm diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 0c46f5673..b23e1da82 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -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' }, },