From: G. Richardson Date: Sun, 3 Aug 2014 23:55:15 +0000 (+0200) Subject: Fehlende MetaSetup Dateien für Steuerzonenupdate X-Git-Tag: release-3.2.0beta~366 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=078c976936963bc3339c6c4438bda54a40a144f4;p=kivitendo-erp.git Fehlende MetaSetup Dateien für Steuerzonenupdate --- diff --git a/SL/DB/MetaSetup/Invoice.pm b/SL/DB/MetaSetup/Invoice.pm index f024a75e8..b80cee70a 100644 --- a/SL/DB/MetaSetup/Invoice.pm +++ b/SL/DB/MetaSetup/Invoice.pm @@ -128,6 +128,11 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::Invoice', key_columns => { storno_id => 'id' }, }, + + taxzone => { + class => 'SL::DB::TaxZone', + key_columns => { taxzone_id => 'id' }, + }, ); 1; diff --git a/SL/DB/MetaSetup/PurchaseInvoice.pm b/SL/DB/MetaSetup/PurchaseInvoice.pm index d2d60043e..6de5abd2a 100644 --- a/SL/DB/MetaSetup/PurchaseInvoice.pm +++ b/SL/DB/MetaSetup/PurchaseInvoice.pm @@ -97,6 +97,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { storno_id => 'id' }, }, + taxzone => { + class => 'SL::DB::TaxZone', + key_columns => { taxzone_id => 'id' }, + }, + vendor => { class => 'SL::DB::Vendor', key_columns => { vendor_id => 'id' }, diff --git a/SL/DB/MetaSetup/TaxzoneChart.pm b/SL/DB/MetaSetup/TaxzoneChart.pm index f0cd6dcf1..3bcdbceee 100644 --- a/SL/DB/MetaSetup/TaxzoneChart.pm +++ b/SL/DB/MetaSetup/TaxzoneChart.pm @@ -36,9 +36,12 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::Chart', key_columns => { income_accno_id => 'id' }, }, -); -# __PACKAGE__->meta->initialize; + taxzone => { + class => 'SL::DB::TaxZone', + key_columns => { taxzone_id => 'id' }, + }, +); 1; ;