From: Sven Schöling Date: Tue, 5 Aug 2014 11:21:08 +0000 (+0200) Subject: PriceSource: Gutschriften berücksichtigen X-Git-Tag: release-3.2.0beta~164 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ba4744ac51983efe3bba9ccc69d1ff4e8bbe301d;p=kivitendo-erp.git PriceSource: Gutschriften berücksichtigen --- 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' };