upgrade-groups-id (U1916)#

A record or view uses groups_id, renamed group_ids in Odoo 19.0.

Applies to Odoo 19.0 and later.

What it does#

Reports <field name="groups_id"> in records of users, views, menus and actions, and in views of those models (fields and xpaths). The groups= attribute is not affected.

Why is this bad?#

Odoo 19.0 renamed the field without an alias: installing fails with “Invalid field”.

Fix safety#

Safe: groups_id becomes group_ids.