diff --git a/modules/apivie/pages.py b/modules/apivie/pages.py index 034ec4db96bc65ddf1565a35861da15ae65fe2b0..625ace0bb1bab7073cc6ca4c963d605ab401c35e 100644 --- a/modules/apivie/pages.py +++ b/modules/apivie/pages.py @@ -146,3 +146,8 @@ class item(ItemElement): obj_label = CleanText(Dict('typeMouvement')) obj_valuation = CleanDecimal.SI(Dict('montantOperation')) obj_vdate = Date(CleanText(Dict('dateOperation'))) + + def validate(self, obj): + # Skip 'Encours' transactions, it is just an information + # about the current account balance + return 'Encours' not in obj.label