PriceRule: Klassenauflösung für items von Gutschriften hinzugefügt.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 19 Jan 2015 22:54:34 +0000 (23:54 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 19 Jan 2015 22:54:34 +0000 (23:54 +0100)
bin/mozilla/io.pl

index 2b812da..c847898 100644 (file)
@@ -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;