summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-12-11 16:54:35 +0100
committerThibault Delavallée <tde@openerp.com>2012-12-11 16:54:35 +0100
commit023783324077937517a8fab476a3a5dbee5ed535 (patch)
tree9360eb36a5c6c28665bf4d52e551c9cbfc04634f /addons/mail/wizard/mail_compose_message_view.xml
parent3a1e0059a2d56fc92ac50fb0fd70685c5bdf176b (diff)
[FIX] mail.compose.message: fixed rendering when no template is chosen in the selection box; also cleaned display of recipients when using the wizard in mass mailing mode.
bzr revid: tde@openerp.com-20121211155435-l5s9lpghpxw8bi9o
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/mail/wizard/mail_compose_message_view.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index 57fc0aaf729..c0b329690e3 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -15,14 +15,17 @@
<!-- visible wizard -->
<label for="partner_ids" string="Recipients"/>
<div>
- <span attrs="{'invisible':[('model', '=', False)]}">
+ <span attrs="{'invisible':['|', ('model', '=', False), ('composition_mode', '!=', 'mass_mail')]}">
+ Followers of selected items and
+ </span>
+ <span attrs="{'invisible':['|', ('model', '=', False), ('composition_mode', '=', 'mass_mail')]}">
Followers of
<field name="record_name" readonly="1" class="oe_inline"
attrs="{'invisible':[('model', '=', False)]}"/>
and
</span>
<field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..."
- context="{'force_email':True}" required="1"/>
+ context="{'force_email':True}"/>
</div>
<field name="subject" placeholder="Subject..."/>
</group>