diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-10-17 11:38:30 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-10-17 11:38:30 +0200 |
| commit | 6495fcf88309d0d67cbe76a86f3e27bb72feb6d7 (patch) | |
| tree | 365f9d71a1c161f80a56287026d6f732097458af /addons/mail/wizard | |
| parent | 0ded676e72ec5421a865b155cb0d78dfa0318dc9 (diff) | |
[IMP] mail: mail.compose.message: when working on an active_domain
due to list view header being checked, display
an info in the mass mailing wizard to warn the
user he is about to mail all records matching
its search filter, not only the selected ids.
bzr revid: tde@openerp.com-20131017093830-cvxihr3zwohos9ol
Diffstat (limited to 'addons/mail/wizard')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 0c86bae7e5f..948d9b3832c 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -13,8 +13,17 @@ <field name="res_id" invisible="1"/> <field name="parent_id" invisible="1"/> <field name="mail_server_id" invisible="1"/> + <!-- Various warnings --> <field name="use_active_domain" invisible="1"/> - <field name="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. + </p> + </div> <!-- visible wizard --> <field name="email_from" attrs="{'invisible':[('composition_mode', '!=', 'mass_mail')]}"/> |
