From c6d4340afbe94886d6a5f163e4e565f3e123a4da Mon Sep 17 00:00:00 2001 From: Quentin Defenouillere Date: Mon, 3 Dec 2018 16:40:00 +0100 Subject: [PATCH] [hsbc] Typed missing Savings and Life Insurance accounts Some accounts were typed unknown, leading to bugs during iter_history when trying to retrieve transactions. By typing life insurances correctly, this bug is avoided. Closes: 16236@sibi --- modules/hsbc/pages/account_pages.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/hsbc/pages/account_pages.py b/modules/hsbc/pages/account_pages.py index 2c04e5fa53..fd822841a4 100644 --- a/modules/hsbc/pages/account_pages.py +++ b/modules/hsbc/pages/account_pages.py @@ -93,12 +93,13 @@ class AccountsType(Filter): (r'livret', Account.TYPE_SAVINGS), (r'livjeu', Account.TYPE_SAVINGS), (r'csljun', Account.TYPE_SAVINGS), + (r'ldds', Account.TYPE_SAVINGS), (r'compte', Account.TYPE_CHECKING), (r'cpte', Account.TYPE_CHECKING), (r'scpi', Account.TYPE_MARKET), (r'account', Account.TYPE_CHECKING), (r'\bpret\b', Account.TYPE_LOAN), - (r'\bvie\b', Account.TYPE_LIFE_INSURANCE), + (r'\bvie2?\b', Account.TYPE_LIFE_INSURANCE), (r'strategie patr.', Account.TYPE_LIFE_INSURANCE), (r'essentiel', Account.TYPE_LIFE_INSURANCE), (r'elysee', Account.TYPE_LIFE_INSURANCE), @@ -112,6 +113,7 @@ class AccountsType(Filter): (r'hsbc evol pat capi', Account.TYPE_CAPITALISATION), (r'bourse libre', Account.TYPE_MARKET), (r'plurival', Account.TYPE_LIFE_INSURANCE), + (r'europep', Account.TYPE_LIFE_INSURANCE), ] def filter(self, label): -- GitLab