-
-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[17.0][FIX] base_user_role: Group synchronization fix for auditlog in…
…tegration tests Add force group recalculation in role assignment tests to handle group synchronization issues that occur when base_user_role and auditlog modules are both installed. Without forcing updates, tests fail in odoo.sh and OCA CI environments due to group assignment mismatches. Force parameter in set_groups_from_roles() ensures proper group synchronization regardless of auditlog's presence. No issues occur when base_user_role runs standalone. Fix applied to all role assignment test methods to maintain consistent behavior across test scenarios.
- Loading branch information
Mohssin Bouktaib
committed
Jan 24, 2025
1 parent
77db565
commit f23fa7f
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters