Revision 60e09e25
Von G. Richardson vor mehr als 12 Jahren hinzugefügt
SL/Controller/CsvImport/Part.pm | ||
---|---|---|
|
||
if ($self->settings->{article_number_policy} eq 'update_prices') {
|
||
if ($entry->{part}) {
|
||
map { $entry->{part}->$_( $object->$_ ) } qw(sellprice listprice lastcost);
|
||
map { $entry->{part}->$_( $object->$_ ) if defined $object->$_ } qw(sellprice listprice lastcost);
|
||
|
||
# merge prices
|
||
my %prices_by_pricegroup_id = map { $_->pricegroup->id => $_ } $entry->{part}->prices, $object->prices;
|
Auch abrufbar als: Unified diff
Bug 1960 - Datenverlust beim CSV-Warenimport bei Preisen
wenn sellprice, listprice oder lastcost in der Importdatei nicht
explizit mit eigener Spalte gesetzt wurden, wurden die ursprünglichen
Preise beim Preisupdate mit 0 überschrieben.
Fix von Sven.