upgrade-private-read-group (U1719)#
_read_group called with the 16.0 signature (lazy, orderby, fields).
Applies to Odoo 17.0 and later.
What it does#
Reports _read_group(...) calls with lazy=, orderby= or fields=.
Why is this bad?#
Odoo 17.0 changed _read_group to _read_group(domain, groupby, aggregates, having, offset, limit, order), returning tuples instead of
dicts: the call fails or its result is misread. Use the new signature, or
the public read_group for the old dicts.