From fc61a97499efd0bf3f22fc4d32026f07ae38b3c6 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 10 Nov 2010 16:54:14 +0100 Subject: [PATCH] =?utf8?q?Verkn=C3=BCpfung=20zu=20PaymentTerm-Model?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Order.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index e84f8a2f3..267b91338 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -30,6 +30,11 @@ __PACKAGE__->meta->add_relationship( class => 'SL::DB::PeriodicInvoice', column_map => { id => 'oe_id' }, }, + payment_term => { + type => 'one to one', + class => 'SL::DB::PaymentTerm', + column_map => { payment_id => 'id' }, + }, ); __PACKAGE__->meta->initialize; -- 2.20.1