add Investment.description field

This commit is contained in:
Romain Bignon 2014-10-07 00:36:29 +02:00
commit 47c2257490

View file

@ -158,13 +158,14 @@ class Investment(BaseObject):
Investment in a financial market. Investment in a financial market.
""" """
label = StringField('Label of stocks') label = StringField('Label of stocks')
code = StringField('Short code identifier of the stock') code = StringField('Short code identifier of the stock')
quantity = IntField('Quantity of stocks') description = StringField('Description of the stock')
unitprice = DecimalField('Buy price of one stock') quantity = IntField('Quantity of stocks')
unitvalue = DecimalField('Current value of one stock') unitprice = DecimalField('Buy price of one stock')
valuation = DecimalField('Total current valuation of the Investment') unitvalue = DecimalField('Current value of one stock')
diff = DecimalField('Difference between the buy cost and the current valuation') valuation = DecimalField('Total current valuation of the Investment')
diff = DecimalField('Difference between the buy cost and the current valuation')
class Transfer(BaseObject): class Transfer(BaseObject):