-
-
Notifications
You must be signed in to change notification settings - Fork 310
[19.0][MIG] base_user_role: Migration to 19.0 #382
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: 19.0
Are you sure you want to change the base?
Conversation
…608) * [ADD] New module 'base_user_role' * [FIX] base_user_role - Review * [FIX] base_user_role - Review s/is_active/is_enabled/ * [FIX] base_user_role - Review s/is_active/is_enabled/ * [IMP] base_user_role - Translations updated (template + FR) * [FIX] base_user_role - Lint
* FIX: Update users' groups when a role is deleted * IMP: add some test cases to check user's groups when its last role line is removed * FIX: ensure that the user's groups are updated when its last role line is removed
Currently translated at 100,0% (37 of 37 strings) Translation: server-backend-11.0/server-backend-11.0-base_user_role Translate-URL: https://translation.odoo-community.org/projects/server-backend-11-0/server-backend-11-0-base_user_role/da/
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
the groups that have changed with respecto the role.
…notebook users line (#1170)
…users.role.line" This reverts commit b537941d5a2d1fcb3fbacc602124c1b3f6e1d495.
|
Base migration PR for the role stack. Two downstream PRs depend on this PR via a temporary test requirement, following OCA guidance: https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference(s)-to-another-pull-request(s) Dependent PRs
Notes
Maintainers ping |
|
/ocabot migration base_user_role |
|
@tishmen Is this ready ? Some of commits can be squashed in migration one. If there are improvements, they can stay but making module name appear in commit message. Thanks |
|
@rousseldenis From my side this is ready for another look; The module is installing and checks/tests are passing. |
FrancoMaxime
left a comment
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.
LGTM: code review.
I agree with @rousseldenis comment.
85eaf43 to
98cfee7
Compare
|
@FrancoMaxime @rousseldenis The commits have been squashed as suggested, please check the last commit for the full diff. Thank you! |
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.
Please rebase to include #375
Include the version bump in the actual migration commit (it now has its own, unconventional commit) and rename the actual migration commit to adhere to the pattern [19.0][MIG] <module>: Migration to 19.0.
77c6293 to
a3ac908
Compare
5a03f11 to
390affc
Compare
StefanRijnhart
left a comment
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.
Thanks!
|
This PR has the |
Scope
Summary
group_idsrename,SUPERUSER_IDimport fromodoo.api.models.Constraintandmodels.IndexAPIs.res.groupsprivilege_id(dropcategory_id).trans_implied_idsusages withall_implied_idswhere effective groups are expected.<search><group>schema for 19.0.Pre-commit
Tests
Command:
Result: green locally.