]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Invoice.pm
Neues DB-Setup für Währungen
[kivitendo-erp.git] / SL / DB / MetaSetup / Invoice.pm
index b01b1417d6334bde6fb10a18ca16c8d97ad15259..202087518d0a13683c61c0688df93be2df773297 100644 (file)
@@ -26,7 +26,6 @@ __PACKAGE__->meta->setup(
     shippingpoint             => { type => 'text' },
     terms                     => { type => 'integer', default => '0' },
     notes                     => { type => 'text' },
-    curr                      => { type => 'text' },
     ordnumber                 => { type => 'text' },
     employee_id               => { type => 'integer' },
     quonumber                 => { type => 'text' },
@@ -57,12 +56,11 @@ __PACKAGE__->meta->setup(
     donumber                  => { type => 'text' },
     invnumber_for_credit_note => { type => 'text' },
     direct_debit              => { type => 'boolean', default => 'false' },
+    currency_id               => { type => 'integer', not_null => 1 },
   ],
 
   primary_key_columns => [ 'id' ],
 
-  allow_inline_column_values => 1,
-
   foreign_keys => [
     contact => {
       class       => 'SL::DB::Contact',