From 4c9403bc6a363b2490be56d7146672cacadccae1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 13 Mar 2012 19:57:40 +0100 Subject: [PATCH] =?utf8?q?fehlerhafte=20manager=5Fargs=20f=C3=BCr=20do=20-?= =?utf8?q?>=20do=5Fitems?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/DeliveryOrder.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/DeliveryOrder.pm b/SL/DB/DeliveryOrder.pm index 0a483bfaa..11f718fb3 100644 --- a/SL/DB/DeliveryOrder.pm +++ b/SL/DB/DeliveryOrder.pm @@ -13,7 +13,7 @@ use List::Util qw(first); __PACKAGE__->meta->add_relationship(orderitems => { type => 'one to many', class => 'SL::DB::DeliveryOrderItem', column_map => { id => 'delivery_order_id' }, - manager_args => { with_objects => [ 'part' ] } + manager_args => { with_objects => [ 'parts' ] } }, shipto => { type => 'one to one', class => 'SL::DB::Shipto', -- 2.20.1