diff options
| author | Goffin Simon <sig@odoo.com> | 2016-01-07 15:56:38 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-01-07 16:58:52 +0100 |
| commit | 61cf01b7a8d9bedb577af0cf64f20bbeeb8c031c (patch) | |
| tree | 483c7227c14e50ee9371625e01f8e7696c86674b /addons/mail | |
| parent | 8e1057316f3d6a75dc60e25614159462e552b826 (diff) | |
[FIX] mail: mailing domain not set properly
When selecting contacts from Contacts list views and clicking on
action window "Partner Mass Mailing", the 'active_domain' must be
filled in the wizard with the selecting contacts. In this way,
the right mailing_domain will be set when creating the related
mail.mass_mailing record (in addons/mass_mailing/wizard/mail_compose_message.py
in function get_mail_values).
opw:659383
Diffstat (limited to 'addons/mail')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 54d8e599240..73429e48962 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -96,6 +96,7 @@ context="{ 'default_composition_mode': 'mass_mail', 'default_partner_to': '${object.id or \'\'}', + 'default_active_domain': [['id', 'in', context.get('active_ids', [])]], }"/> </data> </openerp> |
