X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCurrency.pm;h=2426feb11ad9feecad2c257aca9f49f2920e8f70;hb=0d34b38184fdd6a6f1dd1bc7ce509c560e326b4e;hp=c07ef656b91398cf08569acef83b174de58f4e9c;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Currency.pm b/SL/DB/MetaSetup/Currency.pm index c07ef656b..2426feb11 100644 --- a/SL/DB/MetaSetup/Currency.pm +++ b/SL/DB/MetaSetup/Currency.pm @@ -4,7 +4,7 @@ package SL::DB::Currency; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('currencies'); @@ -17,21 +17,5 @@ __PACKAGE__->meta->primary_key_columns([ 'id' ]); __PACKAGE__->meta->unique_keys([ 'name' ]); -__PACKAGE__->meta->relationships( - ap => { - class => 'SL::DB::PurchaseInvoice', - column_map => { id => 'currency_id' }, - type => 'one to many', - }, - - ar => { - class => 'SL::DB::Invoice', - column_map => { id => 'currency_id' }, - type => 'one to many', - }, -); - -# __PACKAGE__->meta->initialize; - 1; ;