fix getting transactions of secondary accounts

This commit is contained in:
Romain Bignon 2012-02-26 19:03:49 +01:00
commit 0badd945a9
3 changed files with 9 additions and 4 deletions

View file

@ -76,11 +76,11 @@ class BNPorcBackend(BaseBackend, ICapBank):
def iter_history(self, account):
with self.browser:
return self.browser.iter_history(account.id)
return self.browser.iter_history(account.link_id)
def iter_operations(self, account):
with self.browser:
return self.browser.iter_coming_operations(account.id)
return self.browser.iter_coming_operations(account.link_id)
def iter_transfer_recipients(self, ignored):
for account in self.browser.get_transfer_accounts().itervalues():