change quantity type to decimal number

This commit is contained in:
smurail 2014-10-23 13:29:45 +02:00
commit 232e631ae1
2 changed files with 10 additions and 10 deletions

View file

@ -161,7 +161,7 @@ class Investment(BaseObject):
label = StringField('Label of stocks')
code = StringField('Short code identifier of the stock')
description = StringField('Description of the stock')
quantity = IntField('Quantity of stocks')
quantity = DecimalField('Quantity of stocks')
unitprice = DecimalField('Buy price of one stock')
unitvalue = DecimalField('Current value of one stock')
valuation = DecimalField('Total current valuation of the Investment')