From 945fac89c72d73fdc46d2101dd150015ad770959 Mon Sep 17 00:00:00 2001 From: Guillaume Risbourg Date: Mon, 16 Sep 2019 16:51:43 +0200 Subject: [PATCH] [creditmutuel] Missing account types + filter specific account Added Eurocompte Confort (TYPE_CHECKING) account. Removed 'Valorisation Totale De Vos Portefeuilles Titres' from the accounts we gather because it is just a link to the summary of all the PEA, not a real account. Closes; 13246@zendesk --- modules/creditmutuel/pages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index aabdcc29e5..33d19c1fef 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -157,6 +157,7 @@ class item_account_generic(ItemElement): ('Comptes courants', Account.TYPE_CHECKING), ('Service Accueil', Account.TYPE_CHECKING), ('Eurocompte Serenite', Account.TYPE_CHECKING), + ('Eurocompte Confort', Account.TYPE_CHECKING), ('Catip', Account.TYPE_DEPOSIT), ('Cic Immo', Account.TYPE_MORTGAGE), ('Credit', Account.TYPE_LOAN), @@ -400,6 +401,8 @@ class iter_accounts(ListElement): class item_account(item_account_generic): def condition(self): _type = Field('type')(self) + if 'Valorisation Totale De Vos Portefeuilles Titres' in Field('label')(self): + return False return item_account_generic.condition(self) and _type not in (Account.TYPE_LOAN, Account.TYPE_MORTGAGE) class item_loan(item_account_generic): -- GitLab