Commit 8a38869a authored by Maxime Pommier's avatar Maxime Pommier Committed by Romain Bignon

[cmso] All card transaction was typed as deferred card. Fixed it to set the...

[cmso] All card transaction was typed as deferred card. Fixed it to set the proper type for each transaction.
parent 7fa6e4e4
......@@ -296,7 +296,7 @@ class Transaction(FrenchTransaction):
class HistoryPage(LoggedPage, JsonPage):
def has_deferred_cards(self):
return Dict('pendingDeferredDebitCardList/currentMonthCardList', default=None)
return Dict('pendingDeferredDebitCardList/currentMonthCardList', default=None)(self.doc)
def get_keys(self):
if 'exception' in self.doc:
......
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