Commit 1a9c5ab2 authored by David Kremer's avatar David Kremer Committed by Romain Bignon
Browse files

[hsbc] specialize pea accounts for investments

Closes: 435121@redmine
parent 2acd18f1
......@@ -315,7 +315,7 @@ def _get_history(self):
def get_investments(self, account):
if account.type == Account.TYPE_LIFE_INSURANCE:
return self.get_life_investments(account)
elif account.type in (Account.TYPE_MARKET, Account.TYPE_PEA):
elif account.type in (Account.TYPE_PEA,):
return self.get_pea_investments(account)
raise NotImplementedError()
......@@ -100,6 +100,7 @@ def filter(self, text):
class Type(Filter):
('Pea', Account.TYPE_PEA),
('invest', Account.TYPE_MARKET),
('ldd', Account.TYPE_SAVINGS),
('livret', Account.TYPE_SAVINGS),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment