PriceSource: Klassenauflösung fpr items von Gutschriften
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 20 Jan 2015 12:32:39 +0000 (13:32 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 20 Jan 2015 12:32:39 +0000 (13:32 +0100)
SL/Controller/PriceSource.pm

index df505a6..b7ee8bd 100644 (file)
@@ -77,6 +77,7 @@ sub _make_record_item {
     request_quotation       => 'OrderItem',
     invoice                 => 'InvoiceItem',
     purchase_invoice        => 'InvoiceItem',
+    credit_note             => 'InvoiceItem',
     purchase_delivery_order => 'DeliveryOrderItem',
     sales_delivery_order    => 'DeliveryOrderItem',
   }->{$::form->{type}};
@@ -119,7 +120,6 @@ sub _make_record {
     purchase_order          => 'Order',
     sales_quotation         => 'Order',
     request_quotation       => 'Order',
-    invoice                 => 'Invoice',
     purchase_invoice        => 'PurchaseInvoice',
     purchase_delivery_order => 'DeliveryOrder',
     sales_delivery_order    => 'DeliveryOrder',