Commit b3410a85 authored by Célande Adrien's avatar Célande Adrien Committed by Romain Bignon

[cragr] ignore '0' id accounts

The accounts with an id equal to '0' redirect to another website, which looks like the new cragr website.
(I saw Credit Agricole Provence Côte D'Azur Banque Privée - bgpi-gestionprivee.credit-agricole.fr)
The accounts that are found on the new website are already on the old one.

Closes: 9948@zendesk
parent 16c95445
......@@ -754,6 +754,12 @@ class SavingsPage(AccountsPage):
obj__form = None
def validate(self, obj):
# Skip accounts with '0' as id
# They redirect to another cragr website
# The accounts contained by this space already appear in the accounts list
return Field('id')(self) != '0'
class TransactionsPage(MyLoggedPage, BasePage):
def get_missing_balance(self):
......
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