projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442b26e
)
Duration-Helfer für Pflichtenheft-Zeitabschätzung
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 8 Mar 2013 16:54:17 +0000
(17:54 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:02:26 +0000
(13:02 +0200)
SL/DB/RequirementSpecItem.pm
patch
|
blob
|
history
diff --git
a/SL/DB/RequirementSpecItem.pm
b/SL/DB/RequirementSpecItem.pm
index
1bc44c2
..
8f7874d
100644
(file)
--- 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);