]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/DeliveryOrder.pm
Fremdschlüssel für Tabellen oe, delivery_orders, parts, translation
[mfinanz.git] / SL / DB / DeliveryOrder.pm
index 9c860bf7e6c7f69c96b1420e4992836b2a5c55b3..a48dad74c6c021e4a40461a91fdf0e1ce67f3d7d 100644 (file)
@@ -15,14 +15,6 @@ __PACKAGE__->meta->add_relationship(orderitems => { type         => 'one to many
                                                     column_map   => { id => 'delivery_order_id' },
                                                     manager_args => { with_objects => [ 'parts' ] }
                                                   },
-                                    shipto => { type       => 'one to one',
-                                                class      => 'SL::DB::Shipto',
-                                                column_map => { shipto_id => 'shipto_id' },
-                                              },
-                                    department => { type       => 'one to one',
-                                                    class      => 'SL::DB::Department',
-                                                    column_map => { department_id => 'id' },
-                                                  },
                                    );
 
 __PACKAGE__->meta->initialize;