bad-builtin-groupby (W8155)#
itertools.groupby is used instead of odoo.tools.groupby.
What it does#
Reports calls to itertools.groupby, also through from itertools import groupby and import aliases.
Why is this bad?#
itertools.groupby only groups consecutive items, so unsorted records end up
in several groups with the same key. odoo.tools.groupby groups all of them.
See odoo/odoo#105376.