From ba4744ac51983efe3bba9ccc69d1ff4e8bbe301d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 5 Aug 2014 13:21:08 +0200 Subject: [PATCH] =?utf8?q?PriceSource:=20Gutschriften=20ber=C3=BCcksichtig?= =?utf8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index ecf7723e6..80fda8657 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1961,7 +1961,7 @@ sub _make_record { sales_delivery_order => 'DeliveryOrder', }->{$::form->{type}}; - if ($::form->{type} eq 'invoice') { + 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