X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FBuchungsgruppe.pm;fp=SL%2FDB%2FBuchungsgruppe.pm;h=addbe33ad36bf95f75f4b9bfff8aead7f0af2348;hb=09e4a554054f19869c9cd10102899ee5525941b4;hp=9074fb90bfd41ed4a9bbea001b94bbaf3a8c7237;hpb=1f6e513bac22932bb8b204accf3e8389965e4ac0;p=kivitendo-erp.git diff --git a/SL/DB/Buchungsgruppe.pm b/SL/DB/Buchungsgruppe.pm index 9074fb90b..addbe33ad 100644 --- a/SL/DB/Buchungsgruppe.pm +++ b/SL/DB/Buchungsgruppe.pm @@ -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) = @_;