Partner settings should default to opt-out for email messages
Bug #1163832 reported by
Stefan Rijnhart (Opener)
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Opinion
|
Undecided
|
Unassigned | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Low
|
OpenERP Community Backports |
Bug Description
OpenERP basically has two kinds of email mechanisms:
- Automatic emails
- Mass mails
Usability wise, the automatic emails should not be send by default. Therefore, the 'notification_
Legally, mass mails can not be send without explicit permission from the recipient (at least in NL). Therefore, the 'opt_out' setting should default to True.
Related branches
lp:~camptocamp/ocb-addons/7.0-fix-default-for-email
- Stefan Rijnhart (Opener): Approve
-
Diff: 25 lines (+2/-2)2 files modifiedemail_template/res_partner.py (+1/-1)
mail/res_partner.py (+1/-1)
lp:~acsone-openerp/ocb-addons/fix_test_20_message_post
- Holger Brunn (Therp): Approve (code review)
- Guewen Baconnier @ Camptocamp: Approve (code review)
- Stefan Rijnhart (Opener): Approve (code review)
-
Diff: 12 lines (+1/-1)1 file modifiedmail/tests/test_mail_features.py (+1/-1)
To post a comment you must log in.
Hello Stefan, could you explain in more details the kind of unexpected behaviors you noticed in OpenERP 7.0 with regard to emails, in light of the latest comments on bug 1099181 and 1130207 (which are actually duplicates of bug 1095594)?
In a nutshell, OpenERP 7.0 only sends emails for explicit messages sent by users, and does what they expect: send the emails. Partners/Users who really prefer to receive these notification exclusively in their OpenERP Messaging Inbox can switch "notification_ email_send" to "Never". Finally, there's an optional "opt_out" flag that can be used for specific purposes related to mass-mailings, but the system does not send any automatically, so you decide how you want to use it.
More specifically: email_send" to "Incoming Emails and Discussions" is absolutely required otherwise all messages would be silently discarded by default: messages written by users would never be received by their intended recipients nor would replies coming via the mail gateway campaign` and they can choose to check the `opt_out` flag in the conditions for entering or staying in their campaigns. Other companies only keep real customers in their CRM and don't have newsletters, but may need to send exceptional mass-mail to their customers (e.g. security alerts or anything). They can filter the recipients based on the `opt_out` flag before using the mass-mail composer (using the pre-configured "Available for mass-mailing" filters), but they decide what `opt_out` means for their business. There may be legitimate business reasons that may require to contact customers even if they have opted-out of *something*, and silently discarding the mails would not leave any choice. The mass-mailing system can be used for other things than unsolicited commercial emails - it's a generic mechanism.
- OpenERP 7.0 does not send automatic emails unless an explicit message was written by a user (other notifications like state changes are turned off by default)
- Setting the "notification_
- Setting 'opt_out' to True by default would not make any difference: first because opt_out is intended for mass-emails only, and secondly because there is no logic hardwired to this field anywhere
- The semantics of `opt_out` are now meant to be company-defined, as the system does not send any mass-mail by default. Some companies are using `marketing_
If the system sends automatic emails in other circumstances than the above, it's probably a bug indeed.
Thanks in advance for your explanations