[trunk]It seems Mass Mailing does not work

Bug #1192638 reported by Olivier Laurent (Acsone)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Medium
OpenERP R&D Addons Team 1

Bug Description

Hello,

It seems that this feature does not work.

To reproduce:
- use the head of lp:~openerp/openobject-addons/7.0
- create a new 7.0 db
- install "Social NetWork" and "Address Book" apps
- grant "Contact creation" and "Technical Feature" to admin user
- configure an outgoing mail server
- go to Messaging/Organizer/Contacts
- create a new XXX contact with a reachable email address, assign the value "Incoming Emails and Discussions" to the "Receive Messages by Email" field, optionaly uncheck the "Opt-Out" field, save it
- check it in the treeview => More => Mass Mailing
- specify a subject and a body, and press "Send"

=> The method mail_mail.send is never called.

In addition, a new message is logged in the history list of the partner. This message is marked as:
- Administrator logged a note about ...
 instead of
- Administrator to XXX about ... (as if the "Send a message" feature had been used)

Thank for your help.

Olivier

Revision history for this message
Olivier Laurent (Acsone) (olivier-laurent) wrote :

FYI: The temporary (and incomplete) simplistic fix sent to the customer is proposed in lp:~olivier-laurent/openobject-addons/7.0-bug1192638

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
summary: - It seems Mass Mailing does not work
+ [trunk]It seems Mass Mailing does not work
Revision history for this message
Olivier Laurent (Acsone) (olivier-laurent) wrote :

In addition, when this feature will work, it is mandatory that the effective sending of the emails (i.e. the call to the mail_mail.send method) has to be desynchronized from the user's http session (and processed by a cron job). Initially, it was certainly the idea behind the Mass Mailing feature but with the (quick-and-dirty) patch mentionned here above, it seems it is not really the case. Thx in advance.

Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Hello,

It seems your branch adds 'res_id' to the list of partner_ids. But this will work only when doing mass mailing on partners. Mass mailing is generic in 7.0/trunk and should work on every model without any specific behavior.

The right way to ensure the partner is notified of a mass mailing is to use a template with object.id in partner_do. I agree this is not obvious in 7.0 because there is no default template. However in trunk, mass mailing action (called 'Partner Mass Mailing' in the 'More' menu to be understandable) uses a template having ${object.id} in To (Partners).

So there is no bug. In 7.0 the feature is not well explained. But that's why in trunk we added a default template and clarified a bit the various options.

Changed in openobject-addons:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.