X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FOrder.pm;h=8d321661d90868064b8b35e57138cb11d0245c15;hb=2772592dab54533eb91a0d11ade01ed24cc58d19;hp=739581432e99b0a08b9f2b47584029b070fa3611;hpb=05c6840d4fbb90cbe81e14427617793c45ba4714;p=kivitendo-erp.git diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 739581432..8d321661d 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -17,7 +17,17 @@ __PACKAGE__->meta->add_relationship( manager_args => { with_objects => [ 'part' ] } - } + }, + periodic_invoices_config => { + type => 'one to one', + class => 'SL::DB::PeriodicInvoicesConfig', + column_map => { id => 'oe_id' }, + }, + periodic_invoices => { + type => 'one to many', + class => 'SL::DB::PeriodicInvoice', + column_map => { id => 'oe_id' }, + }, ); __PACKAGE__->meta->initialize;