projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Controller-Base: _controller_name in controller_name umbenennen; action_name() ergänzt
[kivitendo-erp.git]
/
SL
/
DB
/
CsvImportProfile.pm
diff --git
a/SL/DB/CsvImportProfile.pm
b/SL/DB/CsvImportProfile.pm
index
c7c0f91
..
ea7b4fe
100644
(file)
--- a/
SL/DB/CsvImportProfile.pm
+++ b/
SL/DB/CsvImportProfile.pm
@@
-38,19
+38,20
@@
sub set_defaults {
escape_char => '"',
charset => 'CP850',
numberformat => $::myconfig{numberformat},
escape_char => '"',
charset => 'CP850',
numberformat => $::myconfig{numberformat},
+ duplicates => 'no_check',
);
if ($self->type eq 'parts') {
);
if ($self->type eq 'parts') {
- my $bugru = SL::DB::Manager::Buchungsgruppe->find_by(
name
=> { like => 'Standard%19%' });
+ my $bugru = SL::DB::Manager::Buchungsgruppe->find_by(
description
=> { like => 'Standard%19%' });
$self->_set_defaults(sellprice_places => 2,
sellprice_adjustment => 0,
sellprice_adjustment_type => 'percent',
$self->_set_defaults(sellprice_places => 2,
sellprice_adjustment => 0,
sellprice_adjustment_type => 'percent',
- article_number_policy => 'update_price',
- price_group_sep_char => '!',
- shoparticle_if_missing => 0,
+ article_number_policy => 'update_prices',
+ shoparticle_if_missing => '0',
parts_type => 'part',
parts_type => 'part',
- default_buchungsgruppe => ($bugru ? $bugru->name : undef),
+ default_buchungsgruppe => ($bugru ? $bugru->id : undef),
+ apply_buchungsgruppe => 'all',
);
} else {
$self->_set_defaults(table => 'customer');
);
} else {
$self->_set_defaults(table => 'customer');