Skip to content

[18.0][FIX] mail_composer_cc_bcc: don't skip cc/bcc just for notification - #256

Open
qgroulard wants to merge 1 commit into
OCA:18.0from
acsone:18.0-fix-skip_cc_bcc_for_notification_messages-qgr
Open

[18.0][FIX] mail_composer_cc_bcc: don't skip cc/bcc just for notification#256
qgroulard wants to merge 1 commit into
OCA:18.0from
acsone:18.0-fix-skip_cc_bcc_for_notification_messages-qgr

Conversation

@qgroulard

Copy link
Copy Markdown
Contributor

_notify_thread set skip_adding_cc_bcc=True for every message_type == "notification" message, to stop cc/bcc leaking onto incidental system-generated side messages (e.g. a field-tracking notification posted via write() on the same is_from_composer-tainted env as an RFQ send. See 3b97ab2, which introduced this).

But message_type alone can't distinguish that case from a message that IS the one actually being sent, just categorized as "notification" (which is message_post_with_source()'s own default message_type).

…otification

_notify_thread set skip_adding_cc_bcc=True for every message_type ==
"notification" message, to stop cc/bcc leaking onto incidental
system-generated side messages (e.g. a field-tracking notification
posted via write() on the same is_from_composer-tainted env as an RFQ
send. See 3b97ab2, which introduced this).

But message_type alone can't distinguish that case from a message
that IS the one actually being sent, just categorized as
"notification" (which is message_post_with_source()'s own default
message_type).
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @trisdoan,
some modules you are maintaining are being modified, check this out!

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:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants