Skip to content

Conversation

@norlinhenrik
Copy link
Contributor

No description provided.

hailangvn and others added 30 commits November 9, 2025 20:36
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 9 commits November 9, 2025 20:36
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/
@AungKoKoLin1997
Copy link
Contributor

@norlinhenrik Thanks for your PR but there is a existing migration PR for this module.
#104

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.