From: Moritz Bunkus Date: Fri, 8 Mar 2013 16:54:17 +0000 (+0100) Subject: Duration-Helfer für Pflichtenheft-Zeitabschätzung X-Git-Tag: release-3.2.0beta~467^2~232 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=073a24ab5ecfcb8a617044ae377bd73a21dc91e6;p=kivitendo-erp.git Duration-Helfer für Pflichtenheft-Zeitabschätzung --- diff --git a/SL/DB/RequirementSpecItem.pm b/SL/DB/RequirementSpecItem.pm index 1bc44c28d..8f7874da4 100644 --- a/SL/DB/RequirementSpecItem.pm +++ b/SL/DB/RequirementSpecItem.pm @@ -5,6 +5,7 @@ use strict; use SL::DB::MetaSetup::RequirementSpecItem; use SL::DB::Manager::RequirementSpecItem; use SL::DB::Helper::ActsAsList; +use SL::DB::Helper::AttrDuration; __PACKAGE__->meta->add_relationship( children => { @@ -29,6 +30,7 @@ __PACKAGE__->meta->add_relationship( __PACKAGE__->meta->initialize; __PACKAGE__->configure_acts_as_list(group_by => [qw(requirement_spec_id parent_id)]); +__PACKAGE__->attr_duration(qw(time_estimation)); __PACKAGE__->before_delete(\&_before_delete_delete_children);