Commit 296be372 authored by Christophe Francois's avatar Christophe Francois Committed by Vincent A

[creditdunord] Manage missing unitprice column in iter_investment

parent d29d1909
......@@ -723,7 +723,7 @@ class TransactionsPage(LoggedPage, CDNBasePage):
obj_valuation = MyDecimal(TableCell('valuation', colspan=True))
obj_quantity = MyDecimal(TableCell('quantity', colspan=True))
obj_unitvalue = MyDecimal(TableCell('unitvalue', colspan=True))
obj_unitprice = MyDecimal(TableCell('unitprice', colspan=True))
obj_unitprice = MyDecimal(TableCell('unitprice', colspan=True, default=NotAvailable))
obj_portfolio_share = Eval(lambda x: x / 100, MyDecimal(TableCell('portfolio_share')))
def obj_code(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment