Commit cfd368e8 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[caissedepargne] Type Parts sociales as MARKET

Closes: 12537@zendesk
parent bdeb6440
......@@ -162,35 +162,36 @@ class Transaction(FrenchTransaction):
]
class IndexPage(LoggedPage, HTMLPage):
ACCOUNT_TYPES = {u'Epargne liquide': Account.TYPE_SAVINGS,
u'Compte Courant': Account.TYPE_CHECKING,
u'COMPTE A VUE': Account.TYPE_CHECKING,
u'COMPTE CHEQUE': Account.TYPE_CHECKING,
u'Mes comptes': Account.TYPE_CHECKING,
u'CPT DEPOT PART.': Account.TYPE_CHECKING,
u'CPT DEPOT PROF.': Account.TYPE_CHECKING,
u'Mon épargne': Account.TYPE_SAVINGS,
u'Mes autres comptes': Account.TYPE_SAVINGS,
u'Compte Epargne et DAT': Account.TYPE_SAVINGS,
u'Plan et Contrat d\'Epargne': Account.TYPE_SAVINGS,
u'COMPTE SUR LIVRET': Account.TYPE_SAVINGS,
u'LIVRET DEV.DURABLE': Account.TYPE_SAVINGS,
u'LDD Solidaire': Account.TYPE_SAVINGS,
u'LIVRET A': Account.TYPE_SAVINGS,
u'LIVRET JEUNE': Account.TYPE_SAVINGS,
u'LIVRET GRAND PRIX': Account.TYPE_SAVINGS,
u'LEP': Account.TYPE_SAVINGS,
u'LEL': Account.TYPE_SAVINGS,
u'CPT PARTS SOCIALES': Account.TYPE_SAVINGS,
u'PEL 16 2013': Account.TYPE_SAVINGS,
u'Titres': Account.TYPE_MARKET,
u'Compte titres': Account.TYPE_MARKET,
u'Mes crédits immobiliers': Account.TYPE_LOAN,
u'Mes crédits renouvelables': Account.TYPE_LOAN,
u'Mes crédits consommation': Account.TYPE_LOAN,
u'PEA NUMERAIRE': Account.TYPE_PEA,
u'PEA': Account.TYPE_PEA,
}
ACCOUNT_TYPES = {
'Epargne liquide': Account.TYPE_SAVINGS,
'Compte Courant': Account.TYPE_CHECKING,
'COMPTE A VUE': Account.TYPE_CHECKING,
'COMPTE CHEQUE': Account.TYPE_CHECKING,
'Mes comptes': Account.TYPE_CHECKING,
'CPT DEPOT PART.': Account.TYPE_CHECKING,
'CPT DEPOT PROF.': Account.TYPE_CHECKING,
'Mon épargne': Account.TYPE_SAVINGS,
'Mes autres comptes': Account.TYPE_SAVINGS,
'Compte Epargne et DAT': Account.TYPE_SAVINGS,
'Plan et Contrat d\'Epargne': Account.TYPE_SAVINGS,
'COMPTE SUR LIVRET': Account.TYPE_SAVINGS,
'LIVRET DEV.DURABLE': Account.TYPE_SAVINGS,
'LDD Solidaire': Account.TYPE_SAVINGS,
'LIVRET A': Account.TYPE_SAVINGS,
'LIVRET JEUNE': Account.TYPE_SAVINGS,
'LIVRET GRAND PRIX': Account.TYPE_SAVINGS,
'LEP': Account.TYPE_SAVINGS,
'LEL': Account.TYPE_SAVINGS,
'CPT PARTS SOCIALES': Account.TYPE_MARKET,
'PEL 16 2013': Account.TYPE_SAVINGS,
'Titres': Account.TYPE_MARKET,
'Compte titres': Account.TYPE_MARKET,
'Mes crédits immobiliers': Account.TYPE_LOAN,
'Mes crédits renouvelables': Account.TYPE_LOAN,
'Mes crédits consommation': Account.TYPE_LOAN,
'PEA NUMERAIRE': Account.TYPE_PEA,
'PEA': Account.TYPE_PEA,
}
def build_doc(self, content):
content = content.strip(b'\x00')
......
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