-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
base_user_role - user deletion from form views #306
Comments
Thank you for this feedback. I still believe that this is a bug because I believe that the behavior is unintended by the designer and unanticipated by the user. Nonetheless, after reading your feedback, I see that it does not present as intractable a situation as I first thought. My solution will be to create a role for all internal users which only applies the group "User Types / Internal User". All other roles will be applied in addition to this role. Since this role will never be removed, I should not encounter the undesired behavior and I will be able to add and remove all other roles to users without consequence. This solution has worked in testing. I am posting my solution for the benefit of other users. This solution is sufficient for my needs, but I encourage the OCA team to consider addressing this issue for the next release. Thanks again. |
Syncing from upstream OCA/server-backend (17.0)
Module
base_user_role
Describe the bug
To Reproduce
Affected versions:
Odoo 16
Steps to reproduce the behavior:
Alternatively,
Expected behavior
The user list on the role form view should have "x" icons that remove the user from the role, but do not delete the user. The trash can icon should not be available.
The role list on the user form view should have "x" icons that remove the role from the user, but do not delete the user. The trash can icon should not be available.
I believe this should behave like the "Groups" tab on the roles form view:
Additional context
Windows Server 2022, Odoo 16 Community, Python 3.10.11
The text was updated successfully, but these errors were encountered: