From 9ef7b34a758299e05df756b047e2d1c72b674bd4 Mon Sep 17 00:00:00 2001 From: Christophe Francois Date: Tue, 25 Aug 2020 17:30:16 +0200 Subject: [PATCH] weboob.capabilities.bank: New account type REAL_ESTATE This new type will be used for all investment in real state such as SCPI, OPCI, SCI... --- weboob/capabilities/bank/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weboob/capabilities/bank/base.py b/weboob/capabilities/bank/base.py index 1652f51a90..60742cc2d4 100644 --- a/weboob/capabilities/bank/base.py +++ b/weboob/capabilities/bank/base.py @@ -116,6 +116,8 @@ class AccountType(Enum): "Revolving credit" PER = 20 "Pension plan PER" + REAL_ESTATE = 21 + "Real estate investment such as SCPI, OPCI, SCI" class AccountOwnerType(object): @@ -167,6 +169,7 @@ class Account(BaseAccount): TYPE_CONSUMER_CREDIT = AccountType.CONSUMER_CREDIT TYPE_REVOLVING_CREDIT = AccountType.REVOLVING_CREDIT TYPE_PER = AccountType.PER + TYPE_REAL_ESTATE = AccountType.REAL_ESTATE type = EnumField('Type of account', AccountType, default=TYPE_UNKNOWN) owner_type = StringField('Usage of account') # cf AccountOwnerType class -- GitLab