Skip to content

[19.0] [FIX] mail_restrict_follower_selection: model domain for suggested recipients - #357

Closed
luisDIXMIT wants to merge 1 commit into
OCA:19.0from
dixmit:19.0-fix-mail_restrict_follower_selection
Closed

luisDIXMIT wants to merge 1 commit into
OCA:19.0from
dixmit:19.0-fix-mail_restrict_follower_selection

Conversation

@luisDIXMIT

Copy link
Copy Markdown
Contributor

Forward port of OCA/social#1926. Since the logic changed in this version, I’ve taken the opportunity to document it in the readme.

…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).
@OCA-git-bot OCA-git-bot added series:19.0 mod:mail_restrict_follower_selection Module mail_restrict_follower_selection labels Nov 16, 2026
@luisDIXMIT
luisDIXMIT force-pushed the 19.0-fix-mail_restrict_follower_selection branch from 564a045 to 418b817 Compare November 16, 2026 10:55
@CRogos

CRogos commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@luisDIXMIT instead of changing the description I would suggest to fix the implementation?

#332

@luisDIXMIT

Copy link
Copy Markdown
Contributor Author

I agree that we should try to maintain the functionality instead of just dropping it and describing the new flow. I close this PR @CRogos

@luisDIXMIT luisDIXMIT closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_restrict_follower_selection Module mail_restrict_follower_selection series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants