diff options
| author | Thibault Delavallée <tde@odoo.com> | 2016-11-14 13:20:09 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2016-11-23 12:56:18 +0100 |
| commit | b9c79b0a97b3cb77cbc75a6e21461b12abe813e4 (patch) | |
| tree | e0b7a7343e2f747a77c94a9463ce843a3b40ac1b /addons/mail/wizard/mail_compose_message_view.xml | |
| parent | 2a7299f24c75b6ae518a713458573f080caac4b8 (diff) | |
[IMP] mail: composer in mass mail mode does not use search domain by default
It now uses active_ids (checked records) by default. Composer allows you to
change and use active_domain (search criterion) instead.
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 2ae03360d14..191647f59d1 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -18,19 +18,29 @@ <field name="active_domain" invisible="1"/> <!-- Various warnings --> - <field name="use_active_domain" invisible="1"/> <div colspan="2" class="oe_form_box_info oe_text_center" - attrs="{'invisible': [('use_active_domain', '!=', True)]}"> - <p> - <strong>All records matching your current search filter will be mailed, - not only the ids selected in the list view.</strong><br /> - If you want to work only with selected ids, please uncheck the - list header checkbox. + attrs="{'invisible': [('active_domain', '=', False)]}"> + <p attrs="{'invisible': [('use_active_domain', '=', False)]}"> + <strong> + All records matching your current search filter will be mailed, + not only the ids selected in the list view. + </strong><br /> + If you want to send a lot of emails, we recommend you to use the mass mailing module.<br /> + Confirming this wizard will probably take a few minutes blocking your browser. + </p> + <p attrs="{'invisible': [('use_active_domain', '=', True)]}"> + <strong>Only records checked in list view will be used.</strong><br /> + If you want to send a lot of emails, we recommend you to use the mass mailing module. + </p> + <p class="mt8"> + <span attrs="{'invisible': [('use_active_domain', '=', True)]}"> + If you want to use all records according to you search criterion instead check this selection box : + </span> + <span attrs="{'invisible': [('use_active_domain', '=', False)]}"> + If you want to use only selected records please uncheck this selection box : + </span> + <field class="oe_inline" name="use_active_domain"/> </p> - <br/> - <p> - <strong>Moreover, if you want to send a lot of emails, we recommend you to use the mass mailing module</strong>. <br /> - Confirming this wizard will probably take a few minutes blocking your browser.</p> </div> <!-- visible wizard --> <field name="email_from" |
