X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCsvImport%2FARTransaction.pm;h=ca16a012f06b66f7b5febf62e2312e0d966015fc;hb=3f90c9cac7fea1568957718eba46dfe5f9a621ce;hp=1d4179b75a694f5097f9f862b29612be568f5479;hpb=3f924c0fc876c2133e5ba22f25a45a484885ee0b;p=kivitendo-erp.git diff --git a/SL/Controller/CsvImport/ARTransaction.pm b/SL/Controller/CsvImport/ARTransaction.pm index 1d4179b75..ca16a012f 100644 --- a/SL/Controller/CsvImport/ARTransaction.pm +++ b/SL/Controller/CsvImport/ARTransaction.pm @@ -540,7 +540,7 @@ sub add_transactions_to_ar { $ar_entry = $entry; # remember as last ar_entry } elsif ( defined $ar_entry && $entry->{raw_data}->{datatype} eq $self->_transaction_column ) { - push @{ $entry->{errors} }, $::locale->text('no tax_id in acc_trans') unless $entry->{object}->tax_id || $entry->{object}->tax_id == 0; + push @{ $entry->{errors} }, $::locale->text('no tax_id in acc_trans') if !defined $entry->{object}->tax_id; next if @{ $entry->{errors} }; my $acc_trans_objects = $ar_entry->{object}->add_ar_amount_row(