1 <?xml version="1.0" encoding="utf-8"?>
5 <record model="ir.ui.view" id="email_compose_message_wizard_inherit_form">
6 <field name="name">mail.compose.message.form</field>
7 <field name="model">mail.compose.message</field>
8 <field name="type">form</field>
9 <field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
10 <field name="arch" type="xml">
12 <xpath expr="//label[@name='placeholder']" position="before">
13 <group attrs="{'invisible':[('use_template','=',False)]}" colspan="4" col="4">
14 <field name="template_id" colspan="3"
15 on_change="on_change_template(use_template, template_id, email_from, email_to, context)"/>
16 <label string="" name="flexspace" colspan="1"/>
18 <group colspan="1" col="6">
19 <field name="use_template" invisible="1"/>
20 <button icon="gtk-paste" type="object" name="template_toggle"
21 string="" help="Use a message template" colspan="1"/>
22 <button icon="gtk-save" type="object" name="save_as_template"
23 string="" help="Save as a new template" colspan="1"/>