diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-11-09 14:56:12 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-11-09 14:56:12 +0100 |
| commit | aa91324cd48073340cced74a66b623bef97b5fa5 (patch) | |
| tree | 43e94c741f5301a02bf43117f04d3879ba270cd1 /addons/mail/wizard/mail_compose_message_view.xml | |
| parent | c22eec5f7dd9b33d68294b609df7d912f6ca9c99 (diff) | |
[IMP] mail.compose.message wizard form view: updated a bit display of recipients, displaying Follows of XXX, when commenting a document, to clarify a bit which partners will receive the email.
bzr revid: tde@openerp.com-20121109135612-xw86jk4jlri8zfxp
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index b9c3d237e78..86b1be6562f 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -14,10 +14,19 @@ <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"/> |
