Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#5,179 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, sql
Ambito
backend, databases

Direzione di ricerca

The payload names no specific file, test, or entry point, so start by reproducing the 15-to-16 migration on a small database. Compare the res.groups and access-rights view records after migration with those from a fresh 16 install to find which ones are missing or misassigned. Done means the Access Rights tab shows the Portal, Internal User, and Project groups without Developer Mode, and a test or reproduction script confirms it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug stale

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.

Lingua principale
Python
Stelle
995
Fork
837
Merge medio
2g 8h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/OpenUpgrade

Tutte le issue di OCA/OpenUpgrade

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.