]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Invoice.pm
Rose-Model-Updates (Foreign keys, allow_inline_column_values) nach currencies-Einführung
[kivitendo-erp.git] / SL / DB / MetaSetup / Invoice.pm
index 202087518d0a13683c61c0688df93be2df773297..2a0e50ee23d4ed7c473e2ee781518ae4dc1afec3 100644 (file)
@@ -61,12 +61,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' },
+    },
+
     customer => {
       class       => 'SL::DB::Customer',
       key_columns => { customer_id => 'id' },