-
Notifications
You must be signed in to change notification settings - Fork 2
fix(spp_dms): fix DMS app visibility and hide deprecated group from UI #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||
| id="main_menu_spp_dms" | ||||||
| name="DMS" | ||||||
| web_icon="spp_dms,static/description/OpenSPP-Icons-DMS.png" | ||||||
| groups="spp_dms.group_dms_user" | ||||||
| groups="spp_dms.group_dms_viewer" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The PR aims to ensure that any assigned DMS role grants access to the application. However, the
Suggested change
|
||||||
| /> | ||||||
| <menuitem | ||||||
| id="menu_spp_dms_config" | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To ensure that the
privilege_idis actually cleared from existing records in the database during a module upgrade, simply removing the line from the XML is often insufficient in Odoo. In many cases, Odoo retains the existing value in the database if the field is omitted from the record definition during an update. It is recommended to explicitly set the field toFalseto guarantee it is hidden from the privilege selector as intended.