fix set of Investment.unitprice for market accounts
This commit is contained in:
parent
306d25242d
commit
4c2cb80761
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class TitrePage(LoggedPage, RawPage):
|
|||
invest.quantity = NotAvailable
|
||||
unitprice = FrenchTransaction.clean_amount(columns[2])
|
||||
if unitprice != '':
|
||||
invest.unitprice = Decimal()
|
||||
invest.unitprice = Decimal(unitprice)
|
||||
else:
|
||||
invest.unitprice = NotAvailable
|
||||
unitvalue = FrenchTransaction.clean_amount(columns[3])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue