summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/mail/wizard/mail_compose_message_view.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index 255954e31c1..1f00ed419a2 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -14,22 +14,16 @@
<field name="parent_id" invisible="1"/>
<field name="content_subtype" invisible="1"/>
<!-- visible wizard -->
- <field name="subject" placeholder="Subject..."
- attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>/>
<field name="partner_ids" widget="many2many_tags" placeholder="Add contacts to notify..."
context="{'force_email':True}"
- on_change="onchange_partner_ids(partner_ids)"/>
+ on_change="onchange_partner_ids(partner_ids)" required="1"/>
+ <field name="subject" placeholder="Subject..."
+ attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>
</group>
- <notebook>
- <page string="Body">
- <field name="body" nolabel="1"/>
- </page>
- <page string="Attachments">
- <field name="attachment_ids" colspan="4" nolabel="1"/>
- </page>
- </notebook>
+ <field name="body"/>
+ <field name="attachment_ids" widget="one2many_binary" blockui="0"/>
<footer>
- <button string="Send" name="send_mail" type="object" class="oe_highlight" />
+ <button string="Send" name="send_mail" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>