From: Bernd Blessmann Date: Wed, 1 Feb 2012 12:00:33 +0000 (+0100) Subject: Die id der delivery_order ist in delivery_order_id bei items, nicht in trans_id X-Git-Tag: release-2.7.0beta1~13 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=20f266d29b94b3ab217420be1f1eb2a9826f3cb6;p=kivitendo-erp.git Die id der delivery_order ist in delivery_order_id bei items, nicht in trans_id --- diff --git a/SL/DB/DeliveryOrder.pm b/SL/DB/DeliveryOrder.pm index b65bf3eb6..0a483bfaa 100644 --- a/SL/DB/DeliveryOrder.pm +++ b/SL/DB/DeliveryOrder.pm @@ -12,7 +12,7 @@ use List::Util qw(first); __PACKAGE__->meta->add_relationship(orderitems => { type => 'one to many', class => 'SL::DB::DeliveryOrderItem', - column_map => { id => 'trans_id' }, + column_map => { id => 'delivery_order_id' }, manager_args => { with_objects => [ 'part' ] } }, shipto => { type => 'one to one',