Skip to content

[20.0][MIG] mail_suggested_recipient_unchecked: Migration to version 20.0 - #378

Open
Andrii9090-tecnativa wants to merge 8 commits into
OCA:20.0from
Tecnativa:20.0-mig-mail_suggested_recipient_unchecked
Open

Andrii9090-tecnativa wants to merge 8 commits into
OCA:20.0from
Tecnativa:20.0-mig-mail_suggested_recipient_unchecked

Conversation

@Andrii9090-tecnativa

Copy link
Copy Markdown

Migration to 20.0

Based on the changes introduced in #279 for v19, adapted to v20.
image

@victoralmau can you review please?

@Tecnativa
TT65325

victoralmau and others added 8 commits November 27, 2026 14:53
TT51197

[UPD] Update mail_suggested_recipient_unchecked.pot

[BOT] post-merge updates
In 19.0 the suggested recipients mechanism was rewritten, so the 18.0
implementation (returning `checked: False` from Python) no longer works:

- odoo/odoo@8f3ea98
  "[REF] mail, various: improve suggested recipients": removes
  `mail.thread._message_add_suggested_recipient`, the method overridden
  in 18.0.
- odoo/odoo@3b985d2
  "[IMP] mail: allow user to add new recipients in the chatter":
  replaces the suggested recipient checkboxes by a "To" field
  (RecipientsInput) and drops the `checked` attribute. Every recipient
  in `thread.suggestedRecipients` is now notified.
- odoo/odoo@4ceb3f6
  "[IMP] mail: make suggested recipients batch-enabled": computation now
  lives in `_message_get_suggested_recipients_batch`.

The module is therefore reimplemented on the web client side:

- suggested recipients received from the server are moved from
  `suggestedRecipients` to a new `uncheckedSuggestedRecipients` thread
  field, so they are not notified by default;
- they are displayed next to the "To" field as clickable suggestions,
  a click adding them to the additional recipients.

The Python override is removed and the test is replaced by a tour.
@OCA-git-bot OCA-git-bot added mod:mail_suggested_recipient_unchecked Module mail_suggested_recipient_unchecked series:20.0 labels Dec 3, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration mail_suggested_recipient_unchecked

@OCA-git-bot OCA-git-bot added this to the 20.0 milestone Dec 3, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 3, 2026
3 of 27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_suggested_recipient_unchecked Module mail_suggested_recipient_unchecked series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants