From 67ebc3974b2d5045b536e51e64c5615565d021cb Mon Sep 17 00:00:00 2001 From: Niklas Schmidt Date: Fri, 3 Jan 2025 12:22:05 +0100 Subject: [PATCH] FIX: S:C:DeliveryOrder: instances of SL::DB::Unit have attribute $name --- SL/Controller/DeliveryOrder.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index f50d9b2ad3..0a4cd0f7ab 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -968,7 +968,7 @@ sub action_stock_in_out_dialog { WAREHOUSES => !$delivered ? SL::DB::Manager::Warehouse->get_all(query => [ or => [ invalid => 0, invalid => undef ]], with_objects=> ["bins",]) : [], part => $part, do_qty => $qty, - do_unit => $unit->unit, + do_unit => $unit->name, delivered => $self->order->delivered, row => $row, item_id => $item_id,