Skip to content
  • Quentin Defenouillere's avatar
    [boursorama] Corrected issues with immediate card transactions · d432f358
    Quentin Defenouillere authored and Romain Bignon's avatar Romain Bignon committed
    All immediate card transactions were filtered out from their parent
    account because of issues in transaction typing as well as deferred card
    transaction filtering.
    For each account, ALL card transactions appear so we must carefully sort
    transactions from deferred/immediate cards and only yield the immediate
    ones since deferred card transactions are yielded separately (in the
    history of the card).
    This code enables correct detection of deferred card transactions
    (mainly by checking if the account_label of the transaction appears in
    the list of deferred cards).
    
    Note: I also re-organized the order of iter_history() methods in browser.py
    because it was a huge mess.
    
    Closes: 8912@zendesk, 8308@zendesk, 8814@zendesk, 8773@zendesk,
    8910@zendesk
    d432f358