Repository navigation
Conversation
…wers Odoo forwards every incoming mail to all the followers, sent as `<sender name> <catchall address>`: - some mail servers reject it as impersonation (e.g. Microsoft Defender) - replies meant for the company only leak to the external followers
"email" is the type of incoming mails. Outgoing emails must have the type "comment".
TDu
reviewed
Nov 27, 2026
| body="Test Message", | ||
| email_layout_xmlid=self.mail_notification_layout.xml_id, | ||
| message_type="email", | ||
| message_type="comment", |
Member
There was a problem hiding this comment.
Would be better to disable mail_incoming_no_forward module instead of changing what is tested on an other module.
Why do we have this conflict ?
simahawk
approved these changes
Nov 27, 2026
| @@ -0,0 +1,455 @@ | |||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
There was a problem hiding this comment.
TIP: you can use SKIP=oca-gen-addon-readme to disable full readme rendering and reduce the noise.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Odoo natively behaves like a group chat:
To:mail header → the receiver don't know the other recipientsIssues
Odoo forward the mail as
<sender name> <catchall address>→ Odoo must be able to disable forwarding of external answers
Compatilibility
With module like mail_composer_cc_bcc, the sender can decide who will receive the answer.
→ Odoo should not forward the email in that case.