]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/PaymentTerm.pm
use parent statt use base in MetaSetup
[mfinanz.git] / SL / DB / MetaSetup / PaymentTerm.pm
index 7dd067f6b098cb115484ccbcb3486ddd3b7932f2..bc0587e7ce39c721a616fd8413c5b34e49267499 100644 (file)
@@ -4,11 +4,12 @@ package SL::DB::PaymentTerm;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('payment_terms');
 
 __PACKAGE__->meta->columns(
+  auto_calculation => { type => 'boolean', not_null => 1 },
   description      => { type => 'text' },
   description_long => { type => 'text' },
   id               => { type => 'integer', not_null => 1, sequence => 'id' },