X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=SL%2FDB%2FInvoiceItem.pm;h=1407c33343ba6726c5fe5f689c4f91f9b443a3c8;hb=79cc78cabcd7792319f36aa278fa9b984bc7fe99;hp=d8b39034d69d68401eb49131d0f7fd586eb5311f;hpb=f9676efea9ccfa01df2a57dca9c45cc8fde0d09e;p=kivitendo-erp.git diff --git a/SL/DB/InvoiceItem.pm b/SL/DB/InvoiceItem.pm index d8b39034d..1407c3334 100644 --- a/SL/DB/InvoiceItem.pm +++ b/SL/DB/InvoiceItem.pm @@ -9,7 +9,17 @@ __PACKAGE__->meta->add_relationship( type => 'one to one', class => 'SL::DB::Part', column_map => { parts_id => 'id' }, - } + }, + price_factor_obj => { + type => 'one to one', + class => 'SL::DB::PriceFactor', + column_map => { price_factor_id => 'id' }, + }, + unit_obj => { + type => 'one to one', + class => 'SL::DB::Unit', + column_map => { unit => 'name' }, + }, ); # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.