The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 945fac89 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[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
parent 85d84849
......@@ -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):
......
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