X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FPartsGroup.pm;h=ed3c164fe44916bdc9b6227afc971ae49ca28e63;hb=c7241bf7c547d63999898dee7b5dd486e4d122d3;hp=cc4508bdea5f80b3d34ce82e2ab21171ecd64534;hpb=36703a86a998c7c395f110f94b3b3feebc2a3a80;p=kivitendo-erp.git diff --git a/SL/DB/PartsGroup.pm b/SL/DB/PartsGroup.pm index cc4508bde..ed3c164fe 100644 --- a/SL/DB/PartsGroup.pm +++ b/SL/DB/PartsGroup.pm @@ -19,4 +19,10 @@ __PACKAGE__->meta->initialize; # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class; +sub displayable_name { + my $self = shift; + + return join ' ', grep $_, $self->id, $self->partsgroup; +} + 1;