From: Sven Schöling Date: Fri, 5 Dec 2014 16:03:45 +0000 (+0100) Subject: PriceSource: record objekte im Einkauf korrekt bauen X-Git-Tag: release-3.2.0beta~152 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3bcd9c94d455e35473e2def86e67568b5c262d0d;p=kivitendo-erp.git PriceSource: record objekte im Einkauf korrekt bauen --- diff --git a/SL/Controller/PriceSource.pm b/SL/Controller/PriceSource.pm index 6e33285de..ab74da015 100644 --- a/SL/Controller/PriceSource.pm +++ b/SL/Controller/PriceSource.pm @@ -72,7 +72,7 @@ sub _make_record_item { my $class = { sales_order => 'OrderItem', - purchase_oder => 'OrderItem', + purchase_order => 'OrderItem', sales_quotation => 'OrderItem', request_quotation => 'OrderItem', invoice => 'InvoiceItem', @@ -117,6 +117,8 @@ sub _make_record { purchase_oder => 'Order', sales_quotation => 'Order', request_quotation => 'Order', + invoice => 'Invoice', + purchase_invoice => 'PurchaseInvoice', purchase_delivery_order => 'DeliveryOrder', sales_delivery_order => 'DeliveryOrder', }->{$::form->{type}};