Repository navigation
[18.0] [FIX] mail_restrict_follower_selection: model domain for suggested recipients - #355
Open
luisDIXMIT wants to merge 1 commit into
Open
luisDIXMIT wants to merge 1 commit into
luisDIXMIT wants to merge 1 commit into
Conversation
…cipients Suggested recipients were filtered with the global domain only, because the model was not passed to _mail_restrict_follower_selection_get_domain and the chatter call has no default_res_model in context, so mail_restrict_follower_selection.domain.<model> was ignored there. Also stop removing items from the list being iterated (as in 17.0).
luisDIXMIT
force-pushed
the
18.0-fix-mail_restrict_follower_selection
branch
from
November 16, 2026 08:31
30ec500 to
9bddbee
Compare
Contributor
Author
CRogos
approved these changes
Nov 20, 2026
CRogos
left a comment
Contributor
There was a problem hiding this comment.
@luisDIXMIT I have to say, I was confused by https://github.com/OCA/mail/pull/357/changes . In 19.0 the same port, is only some documentation update to the actual behavior.
I totally missed, that in 18.0, even with the same title, has a totally different implementation?
I agree with you, that we can stick with this PR.
Code LGTM.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward port of OCA/social#1926