-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD][12.0] module mail_send_bcc to receive all mail sent by Odoo in bcc #462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Just a small nitpicking (non blocking)
mail_send_bcc/__manifest__.py
Outdated
"category": "Social Network", | ||
"author": "GRAP" | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/server-tools", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OCA/social
@legalsylvain what do you think about this module supporting cc as well? Do you think that would be feasible? |
Which module ? This one : https://github.com/OCA/social/tree/8.0/base_mail_bcc If yes, that is different need. So propose to keep both modules in the OCA. (even if in reality, the module base_mail_bcc is only available for V 8.) |
@legalsylvain I mean to add the ability to add people in CC and in BCC. Seems that this module only supports BCC. Right? |
@jbeficent : OK. I get it. I renamed the module to regards. |
50ec07e
to
6e3ac27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine for user ✔️
Travis fail for a good reason : a mail_tracking
test is failing with this module
This is this test.The test failed because we can send the email even if there is no partner email.
Indeed, with this module, we automatically add the BCC field, and so the email is sent even if there is not partner email.
Maybe we can check if there is a partner email before adding BCC ?
Thanks a lot @quentinDupont for your analysis. I'll take a look. |
6e3ac27
to
5eca5f0
Compare
5eca5f0
to
fc2fc00
Compare
Hi. Ref : https://runbot.odoo-community.org/runbot/repo/https-github-com-oca-social-205 that's weird, because the runbot seems to have failed in the previous merged PR from @pedrobaeza available here : #602 but the bot seems to have ignored and merged. Any idea ? @sbidoul maybe ? thanks ! |
ocabot merge ignores runbot errors. Why is runbot red and travis green? |
Hi @sbidoul
thanks for your answer. I didn't know.
No idea. there are some errors here : https://runbot3.odoo-community.org/runbot/static/build/3437583-462-fc2fc0/logs/job_10_test_base.txt but seems fully unrelated to my PR.
|
Looks like an issue with the latest setuptools. pypa/setuptools#2357 seems related. |
We can try this: OCA/maintainer-quality-tools#675 |
now green. Thanks @sbidoul ! |
Hi @OCA/social-maintainers : this PR could be merged IMO. |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at d7700e1. Thanks a lot for contributing to OCA. ❤️ |
Thanks ! I didn't know ! The module looks way more complex than the current one. (with full overwrite of odoo functions) but looks promising and is more complete ! |
Syncing from upstream OCA/social (13.0)
Supersed OCA/server-tools#1722. (bad repository)
Migrate a simple module from GRAP V8 incubator repository.
This module overload the send of email in odoo. For each mail sent, odoo will add, in the "Bcc" field, the email present in the "From" field.
Consequently, when the users are sending mail via Odoo to a partner (customer, supplier), they will receive a copy of the email.
Also, if the partner answer to the email, and your mail provider is handling correctly thread (as Gmail does), you'll have the whole history of the mails in your mailbox.
CC : @quentinDupont, @etobella, @pedrobaeza
#GRAPOCA