projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL::ShopConnector::WooCommerce Kategorien per page
[kivitendo-erp.git]
/
SL
/
DB
/
CsvImportProfile.pm
diff --git
a/SL/DB/CsvImportProfile.pm
b/SL/DB/CsvImportProfile.pm
index
8797a7a
..
b816bed
100644
(file)
--- a/
SL/DB/CsvImportProfile.pm
+++ b/
SL/DB/CsvImportProfile.pm
@@
-5,7
+5,6
@@
use strict;
use List::Util qw(first);
require SL::DB::MetaSetup::CsvImportProfile;
use List::Util qw(first);
require SL::DB::MetaSetup::CsvImportProfile;
-use Rose::DB::Object::Helpers qw(clone_and_reset);
__PACKAGE__->meta->add_relationship(
settings => {
__PACKAGE__->meta->add_relationship(
settings => {
@@
-39,6
+38,7
@@
sub set_defaults {
escape_char => '"',
charset => 'CP850',
numberformat => $::myconfig{numberformat},
escape_char => '"',
charset => 'CP850',
numberformat => $::myconfig{numberformat},
+ dateformat => $::myconfig{dateformat},
duplicates => 'no_check',
);
duplicates => 'no_check',
);
@@
-84,8
+84,8
@@
sub clone_and_reset_deep {
my $clone = $self->clone_and_reset;
$clone->settings(map { $_->clone_and_reset } $self->settings);
my $clone = $self->clone_and_reset;
$clone->settings(map { $_->clone_and_reset } $self->settings);
+ $clone->is_default(0);
$clone->name('');
$clone->name('');
-
return $clone;
}
return $clone;
}