Commit 7c3720f4 authored by ntome's avatar ntome Committed by Romain Bignon

[bolden] fix account valuation diff

parent f4bf0d6d
......@@ -61,8 +61,8 @@ class PortfolioPage(LoggedPage, HTMLPage):
obj_label = 'Compte Bolden'
obj_type = Account.TYPE_MARKET
obj_currency = 'EUR'
obj_balance = CleanDecimal('//div[p[has-class("investor-state") and contains(text(),"Total compte Bolden :")]]/p[has-class("investor-status")]', replace_dots=True)
obj_valuation_diff = CleanDecimal('//p[has-class("rent-amount strong dashboard-text")]', replace_dots=True)
obj_balance = CleanDecimal.French('//div[p[has-class("investor-state") and contains(text(),"Total compte Bolden :")]]/p[has-class("investor-status")]', replace_dots=True)
obj_valuation_diff = CleanDecimal.French('//div[has-class("rent-total")]', replace_dots=True)
@method
class iter_investments(TableElement):
......
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