X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3eb3d1b144adb92e62de08e67dc6ff3d39bf7483..a0516348e76b315f149bd1014ef68eaf24d7073c:/SL/DB/MetaSetup/InvoiceItem.pm diff --git a/SL/DB/MetaSetup/InvoiceItem.pm b/SL/DB/MetaSetup/InvoiceItem.pm index d527f76f5..86e0a9d5d 100644 --- a/SL/DB/MetaSetup/InvoiceItem.pm +++ b/SL/DB/MetaSetup/InvoiceItem.pm @@ -64,6 +64,11 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::Project', key_columns => { project_id => 'id' }, }, + + unit_obj => { + class => 'SL::DB::Unit', + key_columns => { unit => 'name' }, + }, ); 1;