diff --git a/modules/caissedepargne/browser.py b/modules/caissedepargne/browser.py index 99dbacd61f00e31c91b593f3c8a29f495f4f6595..5dacfa9d25bd3ce0266f9a8c82ad513d3d8cd0fc 100644 --- a/modules/caissedepargne/browser.py +++ b/modules/caissedepargne/browser.py @@ -597,7 +597,7 @@ def get_coming(self, account): @need_login def get_investment(self, account): self.deleteCTX() - if account.type not in (Account.TYPE_LIFE_INSURANCE, Account.TYPE_MARKET, Account.TYPE_PEA) or 'measure_id' in account._info: + if account.type not in (Account.TYPE_LIFE_INSURANCE, Account.TYPE_CAPITALISATION, Account.TYPE_MARKET, Account.TYPE_PEA) or 'measure_id' in account._info: raise NotImplementedError() if account.type == Account.TYPE_PEA and account.label == 'PEA NUMERAIRE': @@ -622,7 +622,7 @@ def get_investment(self, account): yield investment return - elif account.type == Account.TYPE_LIFE_INSURANCE: + elif account.type in (Account.TYPE_LIFE_INSURANCE, Account.TYPE_CAPITALISATION): if "MILLEVIE" in account.label: self.page.go_life_insurance(account) label = account.label.split()[-1]