Skip to content

[15.0 to 16.0] User Permission settings are not visible after upgrading from Odoo 15 to 16 #5179

@bttd

Description

@bttd

Module

Base

Describe the bug

After upgrading an Odoo database from version 15 to 16, the users permission settings are not visible in the user's form view under the "Access Rights" tab. Only a limited set of permissions (like Administration and Sales) are displayed.

Key permission settings, such as "Portal", "Internal User", and application-specific permissions like "Project" (User/Administrator), are missing. These settings only become visible and editable when the Developer Mode is activated.

To Reproduce

Affected versions: 16 after upgrade

Steps to reproduce the behavior:

  1. Take a database from Odoo 15.
  2. Perform a migration to Odoo 16.
  3. Go to Settings > Users & Companies > Users.
  4. Open any user record to view their access rights.
  5. Observe that most of the permission groups and settings are not displayed.
  6. Activate Developer Mode.
  7. Refresh the user form view, and observe that the missing settings are now visible.

Expected behavior
All user access rights and group settings should be visible and manageable in the standard user interface without needing to activate Developer Mode. The behavior should be consistent with a fresh Odoo 16 installation.

Additional context

This issue only occurs on a database migrated from Odoo 15. In a fresh Odoo 16 database, all user settings appear correctly without developer mode.

This suggests that some view definitions or access rights might not have been updated correctly during the database migration process.

No other significant issues have been identified yet, but it's possible other areas are also affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions