From: Bernd Bleßmann Date: Mon, 19 Jan 2015 22:54:34 +0000 (+0100) Subject: PriceRule: Klassenauflösung für items von Gutschriften hinzugefügt. X-Git-Tag: release-3.2.0beta~69 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bc0f2d41703a9c73daf86d4e412eb2ffc68edae9;p=kivitendo-erp.git PriceRule: Klassenauflösung für items von Gutschriften hinzugefügt. --- 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;