[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
This commit is contained in:
Thibault Delavallée 2013-10-17 11:38:30 +02:00
parent 0ded676e72
commit 6495fcf883
1 changed files with 10 additions and 1 deletions

View File

@ -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')]}"/>