include current operations in history

This commit is contained in:
Romain Bignon 2014-08-18 18:30:48 +02:00
commit 96a0961905
3 changed files with 13 additions and 2 deletions

View file

@ -56,10 +56,16 @@ class OneyBrowser(LoginBrowser):
account.currency = u'EUR'
return [account]
@need_login
def iter_history(self, account):
post = {'task': 'Synthese', 'process': 'SyntheseCompte', 'taskid':'Releve'}
self.operations.go(data=post)
return self.page.iter_transactions(seen=set())
@need_login
def iter_coming(self, account):
post = {'task': 'OperationRecente', 'process': 'OperationRecente', 'taskid':'OperationRecente'}
self.operations.go(data=post)
return self.page.iter_transactions(seen=set())