[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
This commit is contained in:
Goffin Simon
2016-01-07 16:58:52 +01:00
parent 8e1057316f
commit 61cf01b7a8
@@ -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>