Rose-Model-Updates (Foreign keys, allow_inline_column_values) nach currencies-Einführung
[kivitendo-erp.git] / SL / DB / MetaSetup / PurchaseInvoice.pm
index 75040ba..6f8131b 100644 (file)
@@ -48,12 +48,19 @@ __PACKAGE__->meta->setup(
 
   primary_key_columns => [ 'id' ],
 
+  allow_inline_column_values => 1,
+
   foreign_keys => [
     contact => {
       class       => 'SL::DB::Contact',
       key_columns => { cp_id => 'cp_id' },
     },
 
+    currency => {
+      class       => 'SL::DB::Currency',
+      key_columns => { currency_id => 'id' },
+    },
+
     department => {
       class       => 'SL::DB::Department',
       key_columns => { department_id => 'id' },