The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit a94a1717 authored by Christophe François's avatar Christophe François Committed by Vincent A

[boursedirect] Fix xpath for account balance

The table doesn't have an ID anymore. The first cell of each row is now
a `th`. There are two valuations, one for the current day and one for
the day before, so we take the first one.

Closes: 16697@sibi
parent 61b55b5d
......@@ -141,7 +141,7 @@ def obj_type(self):
@method
class fill_account(ItemElement):
obj_balance = CleanDecimal.French('//table[contains(@class,"compteInventaire")]//tr[td[b[text()="TOTAL"]]]/td[2]')
obj_balance = CleanDecimal.French('//th[b/text()="TOTAL"]/following-sibling::td[1]')
class InvestPage(RawPage):
......
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