• Jérome Perrin's avatar
    IdTool: expect bytes for group_id · c4ada837
    Jérome Perrin authored
    group_id is used as key of OOBtree and as [documented], it's not
    possible to mix keys that can not be compared, so we can not have a mix
    of string and bytes.
    
    🤔 a BTree can not contain str and bytes as keys (the same way that on
    python2 it can not contain unicode and str), basically we just need a
    consistent type and something compatible with how we transform the data
    from python2 databases.
    c4ada837
test.erp5.testAccounting.py 310 KB