X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/5067d7bd31514962af9730b33323b831d87164f8..38bb9635fde8c2821c23da931bcb6acba8e4b8be:/SL/DB/MetaSetup/Part.pm diff --git a/SL/DB/MetaSetup/Part.pm b/SL/DB/MetaSetup/Part.pm index 7c79e2e0e..ef6ed69f5 100644 --- a/SL/DB/MetaSetup/Part.pm +++ b/SL/DB/MetaSetup/Part.pm @@ -37,14 +37,14 @@ __PACKAGE__->meta->columns( payment_id => { type => 'integer' }, price_factor_id => { type => 'integer' }, priceupdate => { type => 'date', default => 'now' }, - rop => { type => 'float', scale => 4 }, + rop => { type => 'float', precision => 4, scale => 4 }, sellprice => { type => 'numeric', precision => 15, scale => 5 }, shop => { type => 'boolean', default => 'false' }, stockable => { type => 'boolean', default => 'false' }, unit => { type => 'varchar', length => 20, not_null => 1 }, ve => { type => 'integer' }, warehouse_id => { type => 'integer' }, - weight => { type => 'float', scale => 4 }, + weight => { type => 'float', precision => 4, scale => 4 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -65,7 +65,7 @@ __PACKAGE__->meta->foreign_keys( }, classification => { - class => 'SL::DB::PartsClassification', + class => 'SL::DB::PartClassification', key_columns => { classification_id => 'id' }, },