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:
0eb9010
)
CVar: Shipto-CVars beim Clonen mit clonen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 6 Apr 2016 12:26:17 +0000
(14:26 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 6 Apr 2016 14:05:32 +0000
(16:05 +0200)
SL/DB/Shipto.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Shipto.pm
b/SL/DB/Shipto.pm
index
a0580e3
..
99a4036
100644
(file)
--- a/
SL/DB/Shipto.pm
+++ b/
SL/DB/Shipto.pm
@@
-60,7
+60,8
@@
sub clone {
grep { !m{^ (?: itime | mtime | shipto_id | trans_id ) $}x }
map { $_->name }
@{ $self->meta->columns }),
- module => $module,
+ module => $module,
+ custom_variables => [ map { $_->clone_and_reset } @{ $self->custom_variables } ],
);
return $new_shipto;