change quantity type to decimal number
This commit is contained in:
parent
4ef82b6dd7
commit
232e631ae1
2 changed files with 10 additions and 10 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue