X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/b8b112a39bd601b0bc717646d78de470631da22a..46f9d91b44c432aa017f44b6b2f53114e190428e:/SL/DB/MetaSetup/Currency.pm 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; ;