Commit 44059bc5 authored by Baptiste Delpey's avatar Baptiste Delpey Committed by Romain Bignon
Browse files

[lcl / axabanque] fix crash on unavaialble liquidity balance

Closes: 428503@redmine
parent 50e0dc06
......@@ -524,7 +524,7 @@ class item(ItemElement):
load_details = Field('_market_link') & AsyncLoad
obj__especes = CleanDecimal(TableCell('especes'), replace_dots=True)
obj__especes = CleanDecimal(TableCell('especes'), replace_dots=True, default=0)
obj__titres = CleanDecimal(TableCell('titres'), replace_dots=True, default=0)
obj_valuation_diff = Async('details') & CleanDecimal('//td[contains(text(), "value latente")]/ \
following-sibling::td[1]', replace_dots=True)
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