From: Moritz Bunkus Date: Thu, 11 Nov 2010 16:38:40 +0000 (+0100) Subject: Verknüpfung Tax -> Chart X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~56 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c19b30d22f462a5913610d1f9005a34ed95e1119;p=kivitendo-erp.git Verknüpfung Tax -> Chart --- diff --git a/SL/DB/Tax.pm b/SL/DB/Tax.pm index 58161aeff..017b5f13f 100644 --- a/SL/DB/Tax.pm +++ b/SL/DB/Tax.pm @@ -1,12 +1,17 @@ -# This file has been auto-generated only because it didn't exist. -# Feel free to modify it at will; it will not be overwritten automatically. - package SL::DB::Tax; use strict; use SL::DB::MetaSetup::Tax; +__PACKAGE__->meta->add_relationships(chart => { type => 'one to one', + class => 'SL::DB::Chart', + column_map => { chart_id => 'id' }, + }, + ); + +__PACKAGE__->meta->initialize; + # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class;