]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Vendor.pm
Aufrufe von focus() entfernt.
[mfinanz.git] / SL / DB / Vendor.pm
index 13b70ebe23f385053d549290ce2cef1dd2231f91..1dd936907d8d7b09939bc8b462fa2a57c36fb7cf 100644 (file)
@@ -4,6 +4,10 @@ use strict;
 
 use SL::DB::MetaSetup::Vendor;
 use SL::DB::Helper::TransNumberGenerator;
+use SL::DB::Helper::CustomVariables (
+  module      => 'CT',
+  cvars_alias => 1,
+);
 
 use SL::DB::VC;
 
@@ -21,11 +25,6 @@ __PACKAGE__->meta->add_relationship(
     column_map   => { id      => 'cp_cv_id' },
     manager_args => { sort_by => 'lower(contacts.cp_name)' },
   },
-  business => {
-    type         => 'one to one',
-    class        => 'SL::DB::Business',
-    column_map   => { business_id => 'id' },
-  },
 );
 
 __PACKAGE__->meta->make_manager_class;