Set obj_id to None before to return it to the browser
This commit is contained in:
parent
6cae2cd0a5
commit
d6d5d4cebd
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ class AccountsList(LoggedPage, HTMLPage):
|
||||||
class item(ItemElement):
|
class item(ItemElement):
|
||||||
klass = Transaction
|
klass = Transaction
|
||||||
|
|
||||||
|
obj_id = None # will be overwrited by the browser
|
||||||
# we use lower for compatibility with the old website
|
# we use lower for compatibility with the old website
|
||||||
obj_raw = Transaction.Raw(Lower('.//td[@class="lbl"]'))
|
obj_raw = Transaction.Raw(Lower('.//td[@class="lbl"]'))
|
||||||
obj_amount = CleanDecimal('.//td[starts-with(@class, "amount")]')
|
obj_amount = CleanDecimal('.//td[starts-with(@class, "amount")]')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue