From bc0f2d41703a9c73daf86d4e412eb2ffc68edae9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 19 Jan 2015 23:54:34 +0100 Subject: [PATCH] =?utf8?q?PriceRule:=20Klassenaufl=C3=B6sung=20f=C3=BCr=20?= =?utf8?q?items=20von=20Gutschriften=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 2b812da73..c8478984b 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1937,6 +1937,7 @@ sub _make_record_item { sales_quotation => 'OrderItem', request_quotation => 'OrderItem', invoice => 'InvoiceItem', + credit_note => 'InvoiceItem', purchase_invoice => 'InvoiceItem', purchase_delivery_order => 'DeliveryOrderItem', sales_delivery_order => 'DeliveryOrderItem', @@ -2016,7 +2017,7 @@ sub _make_record { my @items; for my $i (1 .. $::form->{rowcount}) { next unless $::form->{"id_$i"}; - push @items, _make_record_item($i) + push @items, _make_record_item($i); } $obj->items(@items) if @items; -- 2.20.1