]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Buchungsgruppe.pm
Reapply "country_mode entfernt."
[kivitendo-erp.git] / SL / DB / Buchungsgruppe.pm
index 9074fb90bfd41ed4a9bbea001b94bbaf3a8c7237..addbe33ad36bf95f75f4b9bfff8aead7f0af2348 100644 (file)
@@ -6,16 +6,10 @@ use SL::DB::MetaSetup::Buchungsgruppe;
 use SL::DB::Manager::Buchungsgruppe;
 use SL::DB::Helper::ActsAsList;
 
-__PACKAGE__->meta->add_relationship(
-  inventory_account => {
-    type          => 'many to one',
-    class         => 'SL::DB::Chart',
-    column_map    => { inventory_accno_id => 'id' },
-  },
-);
-
 __PACKAGE__->meta->initialize;
 
+sub inventory_account { goto &inventory_accno; }
+
 sub validate {
   my ($self) = @_;