Use Transaction.Raw

This commit is contained in:
Florent 2014-03-28 11:55:45 +01:00
commit 7f02c6d526

View file

@ -114,7 +114,7 @@ class AccountsList(LoggedPage, HTMLPage):
u'frais': u'Frais bancaire', u'sepaplvt': u'Prélèvement'}
# we use lower for compatibility with the old website
obj_raw = Lower('.//td[@class="lbl"]')
obj_raw = Transaction.Raw(Lower('.//td[@class="lbl"]'))
obj_amount = CleanDecimal('.//td[starts-with(@class, "amount")]')
obj__textdate = Env('_textdate')
obj_date = Date(Field('_textdate'), dayfirst=True)