From: Sven Schöling Date: Fri, 21 Jun 2013 08:31:25 +0000 (+0200) Subject: kein use SL::DB::Object aus SL::DB::Object X-Git-Tag: release-3.1.0beta1~280 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f7e892266e58bd2a75de38b58feac85ed25747e8;p=kivitendo-erp.git kein use SL::DB::Object aus SL::DB::Object --- diff --git a/SL/DB/DeliveryOrder.pm b/SL/DB/DeliveryOrder.pm index 6bf602327..7b530c639 100644 --- a/SL/DB/DeliveryOrder.pm +++ b/SL/DB/DeliveryOrder.pm @@ -8,7 +8,6 @@ use SL::DB::MetaSetup::DeliveryOrder; use SL::DB::Manager::DeliveryOrder; use SL::DB::Helper::LinkedRecords; use SL::DB::Helper::TransNumberGenerator; -use SL::DB::Order; use List::Util qw(first); @@ -35,6 +34,8 @@ sub sales_order { my $self = shift; my %params = @_; + + require SL::DB::Order; my $orders = SL::DB::Manager::Order->get_all( query => [ ordnumber => $self->ordnumber,