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.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index bcc11c4111d..8fa4eaa9c50 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -37,6 +37,50 @@
</field>
</record>
+ <record model="ir.ui.view" id="email_compose_message_wizard_form_chatter">
+ <field name="name">mail.compose.message.form</field>
+ <field name="model">mail.compose.message</field>
+ <field name="priority">18</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Compose Email" version="7.0" >
+ <group>
+ <field name="subject" colspan="2" nolabel="1" placeholder="Subject..."
+ class="oe_mail_compose_message_subject oe_mail_compose_message_invisible"/>
+ <field name="body_text" colspan="2" nolabel="1" placeholder="What are you working on ?"
+ class="oe_mail_compose_message_body_text"/>
+ <field name="body_html" colspan="2" nolabel="1" placeholder="What are you working on HTML ?"
+ class="oe_mail_compose_message_body_html oe_mail_compose_message_invisible" widget="text_html"/>
+ <field name="dest_partner_ids" colspan="2" nolabel="1" widget="many2many_tags"
+ placeholder="Add contacts to notify..."
+ class="oe_mail_compose_message_partner_ids oe_mail_compose_message_invisible"/>
+ <div>
+ <button name="send_mail" string="Post" type="object"
+ class="oe_mail_compose_message_button_send"/>
+ or <a href="#" class="oe_mail_compose_message_email">Send an Email</a>
+ </div>
+ <div class='oe_mail_compose_message_icons'>
+<!-- <button icon="../../../../../mail/static/src/img/checklist"
+ type="object" name="checklist" string=""
+ help="Add a checklist"/> -->
+ <a href="#" class="oe_mail_compose_message_checklist">
+ <img src='/mail/static/src/img/checklist.png/' alt='Checklist'
+ title='Add a checklist'/>
+ </a>
+ <a href="#" class="oe_mail_compose_message_attachment">
+ <img src='/mail/static/src/img/attachment.png/' alt='Attachment'
+ title='Add an attachment'/>
+ </a>
+ <a href="#" class="oe_mail_compose_message_formatting">
+ <img src='/mail/static/src/img/formatting.png/' alt='Formatting'
+ title='Switch to advanced formatting mode'/>
+ </a>
+ </div>
+ </group>
+ </form>
+ </field>
+ </record>
+
<record id="action_email_compose_message_wizard" model="ir.actions.act_window">
<field name="name">Compose Email</field>
<field name="res_model">mail.compose.message</field>