Skip to content

[18.0][FIX] dms: Taking archived users into account - #513

Merged
OCA-git-bot merged 2 commits into
OCA:18.0from
Tecnativa:18.0-fix-dms-TT64366
Sep 7, 2026
Merged

OCA-git-bot merged 2 commits into
OCA:18.0from
Tecnativa:18.0-fix-dms-TT64366

Conversation

@victoralmau

Copy link
Copy Markdown
Member

Taking archived users into account

Use Case Example:

  • Create an archived user (an employee’s user account that will be activated in the future)
  • Create a group that explicitly includes the user created earlier (this is done indirectly using hr_dms_field)
  • The users field does not contain this user

Please @pedrobaeza and @carlos-lopez-tecnativa can you review it?

@Tecnativa TT64366

Use Case Example:
- Create an archived user (an employee’s user account that will be activated in the future)
- Create a group that explicitly includes the user created earlier (this is done indirectly using `hr_dms_field`)
- The `users` field does not contain this user

TT64366
It is important that, if a user is activated, the _compute_users() method be called so that the "users" field contains the correct data.

TT64366
@OCA-git-bot OCA-git-bot added mod:dms Module dms series:18.0 mod:dms_user_role Module dms_user_role labels Sep 4, 2026
@pedrobaeza pedrobaeza added this to the 18.0 milestone Sep 4, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-513-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit ad58567 into OCA:18.0 Sep 7, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 9166023. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants