Commit 9ef7b34a authored by Christophe Francois's avatar Christophe Francois Committed by Vincent A

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...
parent 1908185c
Pipeline #3327 passed with stages
in 14 minutes and 10 seconds
...@@ -116,6 +116,8 @@ class AccountType(Enum): ...@@ -116,6 +116,8 @@ class AccountType(Enum):
"Revolving credit" "Revolving credit"
PER = 20 PER = 20
"Pension plan PER" "Pension plan PER"
REAL_ESTATE = 21
"Real estate investment such as SCPI, OPCI, SCI"
class AccountOwnerType(object): class AccountOwnerType(object):
...@@ -167,6 +169,7 @@ class Account(BaseAccount): ...@@ -167,6 +169,7 @@ class Account(BaseAccount):
TYPE_CONSUMER_CREDIT = AccountType.CONSUMER_CREDIT TYPE_CONSUMER_CREDIT = AccountType.CONSUMER_CREDIT
TYPE_REVOLVING_CREDIT = AccountType.REVOLVING_CREDIT TYPE_REVOLVING_CREDIT = AccountType.REVOLVING_CREDIT
TYPE_PER = AccountType.PER TYPE_PER = AccountType.PER
TYPE_REAL_ESTATE = AccountType.REAL_ESTATE
type = EnumField('Type of account', AccountType, default=TYPE_UNKNOWN) type = EnumField('Type of account', AccountType, default=TYPE_UNKNOWN)
owner_type = StringField('Usage of account') # cf AccountOwnerType class owner_type = StringField('Usage of account') # cf AccountOwnerType class
......
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