Neuen Artikeltyp Sortiment eingeführt - sql und rose
[kivitendo-erp.git] / SL / DB / Part.pm
index d6ffc35..8b149ad 100644 (file)
@@ -38,6 +38,11 @@ __PACKAGE__->meta->add_relationships(
     class        => 'SL::DB::Translation',
     column_map   => { id => 'parts_id' },
   },
+  assortment_items => {
+    type         => 'one to many',
+    class        => 'SL::DB::AssortmentItem',
+    column_map   => { id => 'assortment_id' },
+  },
 );
 
 __PACKAGE__->meta->initialize;