X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/b8b112a39bd601b0bc717646d78de470631da22a..c65e8fcc568f54001e277a8d7d8d2bd21cf80f4d:/SL/DB/MetaSetup/Pricegroup.pm diff --git a/SL/DB/MetaSetup/Pricegroup.pm b/SL/DB/MetaSetup/Pricegroup.pm index c4491c1a4..60a7f2038 100644 --- a/SL/DB/MetaSetup/Pricegroup.pm +++ b/SL/DB/MetaSetup/Pricegroup.pm @@ -4,7 +4,7 @@ package SL::DB::Pricegroup; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('pricegroup'); @@ -15,27 +15,5 @@ __PACKAGE__->meta->columns( __PACKAGE__->meta->primary_key_columns([ 'id' ]); -__PACKAGE__->meta->relationships( - delivery_order_items => { - class => 'SL::DB::DeliveryOrderItem', - column_map => { id => 'pricegroup_id' }, - type => 'one to many', - }, - - invoice => { - class => 'SL::DB::InvoiceItem', - column_map => { id => 'pricegroup_id' }, - type => 'one to many', - }, - - orderitems => { - class => 'SL::DB::OrderItem', - column_map => { id => 'pricegroup_id' }, - type => 'one to many', - }, -); - -# __PACKAGE__->meta->initialize; - 1; ;