X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/26dcea15bd1f734316221139015c4b7215662340..5f6d6d4eaca3a3d238c678ef3f2a1fe676c3a77a:/SL/DB/OrderItem.pm diff --git a/SL/DB/OrderItem.pm b/SL/DB/OrderItem.pm index 67bffd8ce..e75c78f5f 100644 --- a/SL/DB/OrderItem.pm +++ b/SL/DB/OrderItem.pm @@ -10,15 +10,10 @@ use SL::DB::Helper::CustomVariables ( sub_module => 'orderitems', cvars_alias => 1, overloads => { - parts_id => 'SL::DB::Part', - }, -); - -__PACKAGE__->meta->add_relationship( - unit_obj => { - type => 'many to one', - class => 'SL::DB::Unit', - column_map => { unit => 'name' }, + parts_id => { + class => 'SL::DB::Part', + module => 'IC', + } }, );