From 6f22c9ac8b5e51a3fc9c8e9a2adb22c46ac77d48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 5 Feb 2014 12:27:10 +0100 Subject: [PATCH] =?utf8?q?Umwandlung=20Angebot/Auftrag=20->=20Rechnung:=20?= =?utf8?q?stornierte=20Rechnungen=20zum=20Rausl=C3=B6schen=20berechneter?= =?utf8?q?=20Mengen=20ignorieren?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index aba9c3eb8..ad6097ce4 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -1993,6 +1993,7 @@ sub _oe_remove_delivered_or_billed_rows { my %handled_base_qtys; foreach my $record (@{ $ord_quot->linked_records(%args) }) { next if $ord_quot->is_sales != $record->is_sales; + next if $record->type eq 'invoice' && $record->storno; foreach my $item (@{ $record->items }) { my $key = $item->parts_id; -- 2.20.1