From cf65d800ee0a850cd069b016343a6e49a78275a1 Mon Sep 17 00:00:00 2001 From: Florent Viard Date: Mon, 1 Feb 2021 22:23:01 +0100 Subject: [PATCH] [bp] Add "INTERETS" to transaction type pattern list For saving accounts (livret), the following entries were not recognized by the transaction pattern matching: INTERETS ACQUIS DECOMPTE D'INTERETS INTERETS BRUTS ACQUIS DECOMPTE D'INTERETS --- modules/bp/pages/accounthistory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/bp/pages/accounthistory.py b/modules/bp/pages/accounthistory.py index 6268c42985..08486daa8f 100644 --- a/modules/bp/pages/accounthistory.py +++ b/modules/bp/pages/accounthistory.py @@ -80,6 +80,7 @@ class Transaction(FrenchTransaction): (re.compile(r'^(?PFRAIS (TRIMESTRIELS )?DE TENUE DE COMPTE).*'), FrenchTransaction.TYPE_BANK), (re.compile(r'^(?PFRAIS IRREGULARITES ET INCIDENTS).*'), FrenchTransaction.TYPE_BANK), (re.compile(r'^(?PCOMMISSION PAIEMENT PAR CARTE)'), FrenchTransaction.TYPE_BANK), + (re.compile(r'^(?P(?PINTERETS).*)'), FrenchTransaction.TYPE_BANK), ( re.compile(r'^(?PCREDIT CARTE BANCAIRE) (?P.*) (?P
\d{2})\.(?P\d{2})\.(?P\d{2,4}) .*'), FrenchTransaction.TYPE_CARD, -- GitLab