Skip to content

[19.0][MIG] mail_composer_cc_bcc: Migration to 19.0#189

Draft
trisdoan wants to merge 40 commits intoOCA:19.0from
trisdoan:19.0-mig-mail_composer_cc_bcc
Draft

[19.0][MIG] mail_composer_cc_bcc: Migration to 19.0#189
trisdoan wants to merge 40 commits intoOCA:19.0from
trisdoan:19.0-mig-mail_composer_cc_bcc

Conversation

@trisdoan
Copy link
Copy Markdown
Contributor

@trisdoan trisdoan commented May 4, 2026

No description provided.

hailangvn and others added 30 commits May 4, 2026 10:00
Currently translated at 83.3% (15 of 18 strings)

Translation: social-16.0/social-16.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_composer_cc_bcc/es/
Currently translated at 100.0% (18 of 18 strings)

Translation: social-16.0/social-16.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_composer_cc_bcc/es/
Currently translated at 100.0% (18 of 18 strings)

Translation: social-16.0/social-16.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_composer_cc_bcc/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-17.0/social-17.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_composer_cc_bcc/
Currently translated at 100.0% (17 of 17 strings)

Translation: social-17.0/social-17.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_composer_cc_bcc/it/
…onstraint "unique_mail_message_id_res_partner_id_if_set" when adding the same user to CC field that is already set as a follower
### This changes

1. Refactor _generate_template_recipients

2. Fix invalid-email-address for Bcc
   - In standard, Bcc key in dict message was stripped in
https://github.com/odoo/odoo/blob/4394940a09900aa5b42cbc05355880598608d1b6/odoo/addons/base/models/ir_mail_server.py#L676
   - Duplicate the key to retain for later assertion
oca-ci and others added 10 commits May 4, 2026 10:00
Default behavior in ´mail´ is that
_prepare_outgoing_list() returns mails with email_to as a LIST.

´mail_tracking´ is dependent on this behvaior,
and it converts LIST to STRING using COMMASPACE.

Without the fix in this commit,
the combination of ´mail_composer_cc_bcc´ and ´mail_tracking´
will produce email_to with comma between each character.
Currently translated at 100.0% (17 of 17 strings)

Translation: mail-18.0/mail-18.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_composer_cc_bcc/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: mail-18.0/mail-18.0-mail_composer_cc_bcc
Translate-URL: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_composer_cc_bcc/de/
@trisdoan trisdoan force-pushed the 19.0-mig-mail_composer_cc_bcc branch from 827d83c to 1e02a82 Compare May 4, 2026 03:54
@OCA-git-bot OCA-git-bot added series:19.0 mod:mail_composer_cc_bcc Module mail_composer_cc_bcc labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_composer_cc_bcc Module mail_composer_cc_bcc series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.