summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
authorRandhir Mayatra (OpenERP) <rma@tinyerp.com>2012-11-19 16:38:24 +0530
committerRandhir Mayatra (OpenERP) <rma@tinyerp.com>2012-11-19 16:38:24 +0530
commitd23c5c8dca985dd0fde280c9237dee85b7bb4d7a (patch)
treecf03bc2a74a1d9e93b5ef571fb78070c09c9857b /addons/mail/wizard/mail_compose_message_view.xml
parentf4ab81afb8285a8157258232c5fb2a6745ae7f72 (diff)
parent66afff1b52b7ab6ab8c340e18960fb6367cfb714 (diff)
[MERGE]merge with trunk
bzr revid: rma@tinyerp.com-20121119110824-rj4y32rfbszqln7g
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/mail/wizard/mail_compose_message_view.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index b9c3d237e78..01ceb770f49 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -14,13 +14,22 @@
<field name="parent_id" invisible="1"/>
<field name="content_subtype" invisible="1"/>
<!-- visible wizard -->
- <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..."
+ <label for="partner_ids" string="Recipients"/>
+ <div>
+ <span attrs="{'invisible':[('model', '=', False)]}">
+ 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"/>
+ </div>
<field name="subject" placeholder="Subject..."
- attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>
+ attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>
</group>
<field name="body"/>
- <field name="attachment_ids" widget="one2many_binary" blockui="0"/>
+ <field name="attachment_ids" widget="many2many_binary"/>
<footer>
<button string="Send" name="send_mail" type="object" class="oe_highlight"/>
or