From: Sven Schöling Date: Fri, 28 Oct 2016 15:38:48 +0000 (+0200) Subject: SL/DB/Pricegroup: circular includes vermeiden X-Git-Tag: release-3.5.4~1939 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9ffd6eedc833db13c3ce0854595587c11220b2a4;p=kivitendo-erp.git SL/DB/Pricegroup: circular includes vermeiden --- diff --git a/SL/DB/Pricegroup.pm b/SL/DB/Pricegroup.pm index 76c644d88..eee044fec 100644 --- a/SL/DB/Pricegroup.pm +++ b/SL/DB/Pricegroup.pm @@ -5,7 +5,6 @@ use strict; use SL::DB::MetaSetup::Pricegroup; use SL::DB::Manager::Pricegroup; use SL::DB::Helper::ActsAsList; -use SL::DB::Customer; __PACKAGE__->meta->initialize; @@ -17,6 +16,7 @@ sub displayable_name { sub validate { my ($self) = @_; + require SL::DB::Customer; my @errors;