From fe7ad402666bbe38d97710852bda2bebb28322ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 6 Dec 2021 15:59:10 +0100 Subject: [PATCH] =?utf8?q?Fix:=20Anzahlungs-Rg.:=20neuen=20Typ=20beim=20Er?= =?utf8?q?zeugen=20der=20record=20items=20ber=C3=BCcksichtigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/PriceSource.pm | 2 +- bin/mozilla/io.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Controller/PriceSource.pm b/SL/Controller/PriceSource.pm index da0302138..ba2d74e47 100644 --- a/SL/Controller/PriceSource.pm +++ b/SL/Controller/PriceSource.pm @@ -155,7 +155,7 @@ sub _make_record { sales_delivery_order => 'DeliveryOrder', }->{$::form->{type}}; - if ($::form->{type} =~ /invoice|invoice_for_advance_payment|credit_note/) { + if ($::form->{type} =~ /invoice|credit_note/) { $class = $::form->{vc} eq 'customer' ? 'Invoice' : $::form->{vc} eq 'vendor' ? 'PurchaseInvoice' : do { die 'unknown invoice type' }; diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 46bad906b..ce7580987 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1966,7 +1966,7 @@ sub _make_record { sales_delivery_order => 'DeliveryOrder', }->{$::form->{type}}; - if ($::form->{type} =~ /invoice|invoice_for_advance_payment|credit_note/) { + if ($::form->{type} =~ /invoice|credit_note/) { $class = $::form->{vc} eq 'customer' ? 'Invoice' : $::form->{vc} eq 'vendor' ? 'PurchaseInvoice' : do { die 'unknown invoice type' }; -- 2.20.1