Set obj_id to None before to return it to the browser

This commit is contained in:
Florent 2014-04-24 19:45:28 +02:00
commit d6d5d4cebd

View file

@ -137,6 +137,7 @@ class AccountsList(LoggedPage, HTMLPage):
class item(ItemElement):
klass = Transaction
obj_id = None # will be overwrited by the browser
# we use lower for compatibility with the old website
obj_raw = Transaction.Raw(Lower('.//td[@class="lbl"]'))
obj_amount = CleanDecimal('.//td[starts-with(@class, "amount")]')