I'm using Odoo 15 and in my development environment the user form is showing group settings as usual, but in production a list with all the user's groups is shown instead.
Any ideas on why this is happening?
I've restored the production database into my local environment, and the form is rendered as usual.
Apparently, the group settings are rendered by a method called _update_user_groups_view
in res.users
. When the context indicates that an install/update/uninstall is running, groups_id
is rendered as a list.
Probably due to an error while updating, the context was indicating that an update was still running. After updating the system, the problem was solved.