← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1163832] Re: Partner settings should default to opt-out for email messages

 

Hi all,

I've just encountered some behaviours I found unexpected (broken?), and
I traced them back to this fix.

(#1) On a document's Openchatter, write a message using the "full mail composer" dialog; there you are able to add new email addresses/Partners on the fly. I found that these new Partners were not receiving the message as expected; the server log and the mail.message table showed no problems with it.
I eventually found that the mail was not being sent because the Partner's default for "notification_email_send" is "none".
The solution was to set the default back to "comment".

(#2) Create an email template, where the destination is "partner_id.email", and use the button to add it to the context menu. Now go to the corresponding model's tree view, check one line, use the "More..." -> Send email... option, and send the email. The Partner (or partners) will not receive the mail as expected.
This is because the send mail context menu action will exclude Partners with the opt-out flag, which in turn is turned on by default.


I believe that change #1 should be reverted, since if breaks the messaging system, as in the example above.
If a Partner/Customer happens to be in the followers, probably that's intentional and messages should be sent out.
If you really want to silence mails to Partner by default, it would be best to create an usability module for this, so that people make a conscious choice by installing it.

As for #2 , it can be argued that I just need to setup properly the Partner I want to be able to send "mass" emails.
After all, legally I might have to ask customers to allow for mailings, and not assume it by default .
The issue is that Partners are not only Customers: they are employees, suppliers, etc.
In my case, there were subcontractors and from a user PoV the default behaviour was unexpected (even if it could be agued to be correct).
So, I would also find best for this choice to be implemented in a specific usability module.

Comments?


PS: as you can imagine, this analysis took a few days of debugging and head scratching...

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is a bug assignee.
https://bugs.launchpad.net/bugs/1163832

Title:
  Partner settings should default to opt-out for email messages

Status in OpenERP Community Backports (Addons):
  Fix Released
Status in OpenERP Community Backports (Addons) 7.0 series:
  Fix Released
Status in OpenERP Addons (modules):
  Opinion

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_email_send' setting should default to
  'none'.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1163832/+subscriptions