[19.0][MIG] base_user_role: Migration to 19.0#382
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.
|
@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.
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.
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
|
This PR has the |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 9b05edd. Thanks a lot for contributing to OCA. ❤️ |
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.