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:
df59bbc
)
Pflichtenhefte: Beim Einfügen ganzer Vorlagen Nummerierung neu vergeben
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 15 Jul 2013 16:04:32 +0000
(18:04 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:09:06 +0000
(13:09 +0200)
SL/DB/RequirementSpec.pm
patch
|
blob
|
history
diff --git
a/SL/DB/RequirementSpec.pm
b/SL/DB/RequirementSpec.pm
index
72651a3
..
0ad61aa
100644
(file)
--- a/
SL/DB/RequirementSpec.pm
+++ b/
SL/DB/RequirementSpec.pm
@@
-165,6
+165,7
@@
sub _copy_from {
my $cloned = Rose::DB::Object::Helpers::clone_and_reset($item);
$cloned->requirement_spec_id($self->id);
$cloned->position(undef);
+ $cloned->fb_number(undef) if $params->{paste_template};
$cloned->children(map { $clone_item->($_) } @{ $item->children });
$id_to_clone{ $item->id } = $cloned;