• Jérome Perrin's avatar
    accounting: support passing a person in AccountModule_getBankAccountItemList · 74a00c76
    Jérome Perrin authored
    The parameter is still named `organisation` for "API stability", but
    this parameter can be a person.
    
    This was already used by the fields on accounting transaction for
    source/destination_payment and more or less working already, except
    for the case where the person had a subordination to an organisation
    member of the group, in that case instead of showing the bank accounts
    from the person this was showing the bank accounts from the
    organisation
    74a00c76
test.erp5.testAccounting.py 306 KB