X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a60c6759b61a4e596ad234eaf938466563efe36c..325c539c21187087e5540646c3c4e9cabd52ee84:/SL/DB/Invoice.pm diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 72844b4db..a2b8d1aa3 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -38,6 +38,12 @@ __PACKAGE__->meta->add_relationship( column_map => { id => 'ar_id' }, manager_args => { with_objects => [ 'sepa_export' ] } }, + custom_shipto => { + type => 'one to one', + class => 'SL::DB::Shipto', + column_map => { id => 'trans_id' }, + query_args => [ module => 'AR' ], + }, ); __PACKAGE__->meta->initialize;