X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/531e1a51239bbdb5e6234f1dcc443f3218f4afd3..46f9d91b44c432aa017f44b6b2f53114e190428e:/SL/DB/MetaSetup/Inventory.pm diff --git a/SL/DB/MetaSetup/Inventory.pm b/SL/DB/MetaSetup/Inventory.pm index b9df3fb08..25530047b 100644 --- a/SL/DB/MetaSetup/Inventory.pm +++ b/SL/DB/MetaSetup/Inventory.pm @@ -4,7 +4,7 @@ package SL::DB::Inventory; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('inventory'); @@ -23,7 +23,7 @@ __PACKAGE__->meta->columns( parts_id => { type => 'integer', not_null => 1 }, project_id => { type => 'integer' }, qty => { type => 'numeric', precision => 25, scale => 5 }, - shippingdate => { type => 'date' }, + shippingdate => { type => 'date', not_null => 1 }, trans_id => { type => 'integer', not_null => 1 }, trans_type_id => { type => 'integer', not_null => 1 }, warehouse_id => { type => 'integer', not_null => 1 },