From 078c976936963bc3339c6c4438bda54a40a144f4 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 4 Aug 2014 01:55:15 +0200 Subject: [PATCH] =?utf8?q?Fehlende=20MetaSetup=20Dateien=20f=C3=BCr=20Steu?= =?utf8?q?erzonenupdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/MetaSetup/Invoice.pm | 5 +++++ SL/DB/MetaSetup/PurchaseInvoice.pm | 5 +++++ SL/DB/MetaSetup/TaxzoneChart.pm | 7 +++++-- 3 files changed, 15 insertions(+), 2 deletions(-) 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; ; -- 2.20.1