From 61cf01b7a8d9bedb577af0cf64f20bbeeb8c031c Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Thu, 7 Jan 2016 15:56:38 +0100 Subject: [PATCH] [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 --- addons/mail/wizard/mail_compose_message_view.xml | 1 + 1 file changed, 1 insertion(+) 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', [])]], }"/>