X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/b632cee8434442efd8ae3962126c34123172daac..7647d46:/SL/DB/InvoiceItem.pm diff --git a/SL/DB/InvoiceItem.pm b/SL/DB/InvoiceItem.pm index 016f94575..a4135fc4c 100644 --- a/SL/DB/InvoiceItem.pm +++ b/SL/DB/InvoiceItem.pm @@ -13,7 +13,7 @@ use SL::DB::Helper::CustomVariables ( __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->make_manager_class; __PACKAGE__->meta->initialize; -sub part { - # canonial alias for parts. - goto &parts; -} - 1;