From 08e48f66590f580cbe2c8e3df76883d88b4c0fef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 31 Mar 2022 17:17:10 +0200 Subject: [PATCH] =?utf8?q?Image-Upload=20neuer=20Typ=20f=C3=BCr=20VK-Liefe?= =?utf8?q?rschein?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/ImageUpload.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/ImageUpload.pm b/SL/Controller/ImageUpload.pm index 18561e0e7..a2497f56b 100644 --- a/SL/Controller/ImageUpload.pm +++ b/SL/Controller/ImageUpload.pm @@ -20,7 +20,7 @@ my %object_loader = ( sales_order => [ "SL::DB::Order", [ sales => 1, quotation => 0 ] ], sales_quotation => [ "SL::DB::Order", [ sales => 1, quotation => 1 ] ], purchase_order => [ "SL::DB::Order", [ sales => 0, quotation => 1 ] ], - sales_delivery_order => [ "SL::DB::DeliveryOrder", [ is_sales => 1 ] ], + sales_delivery_order => [ "SL::DB::DeliveryOrder", [ order_type => 'sales_delivery_order' ] ], ); -- 2.20.1