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:
ba003bf
)
SL::DB::RequirementSpec: time_estimation auch als _as_man_days, _as_man_days_unit
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 27 Feb 2015 08:23:35 +0000
(09:23 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 27 Feb 2015 08:23:35 +0000
(09:23 +0100)
Analog zum RequirementSpecItem
SL/DB/RequirementSpec.pm
patch
|
blob
|
history
diff --git
a/SL/DB/RequirementSpec.pm
b/SL/DB/RequirementSpec.pm
index
cd603aa
..
bc68c17
100644
(file)
--- a/
SL/DB/RequirementSpec.pm
+++ b/
SL/DB/RequirementSpec.pm
@@
-8,6
+8,7
@@
use Rose::DB::Object::Helpers;
use SL::DB::MetaSetup::RequirementSpec;
use SL::DB::Manager::RequirementSpec;
+use SL::DB::Helper::AttrDuration;
use SL::DB::Helper::LinkedRecords;
use SL::Locale::String;
use SL::Util qw(_hashify);
@@
-52,6
+53,8
@@
__PACKAGE__->meta->add_relationship(
__PACKAGE__->meta->initialize;
+__PACKAGE__->attr_duration(qw(time_estimation));
+
__PACKAGE__->before_save('_before_save_initialize_not_null_columns');
sub validate {