Commit 4750be35 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[bnppere] Remove transactions ID

The fetched IDs are just 1, 2, 3 (...), which is insignificant.

Closes: 17087@sibi
parent 5309faa4
......@@ -116,11 +116,6 @@ class HistoryPage(LoggedPage, HTMLPage):
class item(ItemElement):
klass = Transaction
def obj_id(self):
label = CleanText(Attr('./a[contains(@class, "accordion_collapse")]', "id"))(self)
label = ''.join(i for i in label if i.isdigit())
return label
obj_date = Date(CleanText('./div[contains(@class, "accordion_header")]/div[1]/p'))
obj_category = CleanText('./div[contains(@class, "accordion_header")]/div[2]/p[1]')
obj_label = CleanText('./div[contains(@class, "accordion_header")]/div[3]/p[1]')
......
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