64 lines
2.7 KiB
XML
64 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record model="ir.ui.view" id="email_template_send_wizard_form">
|
|
<field name="name">email_template.send.wizard.form</field>
|
|
<field name="model">email_template.send.wizard</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Send mail Wizard">
|
|
<group col="4" colspan="4">
|
|
<field name="rel_model" colspan="2" />
|
|
<field name="from" required="1" colspan="2" />
|
|
</group>
|
|
<group col="4" colspan="4">
|
|
<group col="6" colspan="4">
|
|
<field name="to" select="1" colspan="4" />
|
|
<newline />
|
|
<field name="cc" select="2" colspan="4" />
|
|
<newline />
|
|
<field name="bcc" select="2" colspan="4" />
|
|
<newline />
|
|
<field name="subject" select="2" colspan="4" attrs="{'required':[('state','=','single')]}" />
|
|
<newline />
|
|
<field name="report" colspan="4" />
|
|
</group>
|
|
<separator string="" colspan="4" />
|
|
<notebook colspan="4">
|
|
<page string="Body (Plain Text)">
|
|
<field name="body_text" select="2" colspan="4" nolabel="1" />
|
|
</page>
|
|
<page string="Body (HTML)">
|
|
<field name="body_html" select="2" colspan="4" nolabel="1" />
|
|
</page>
|
|
<page string="Attachments">
|
|
<label string="Add here all attachments of the current document you want to include in the Email." colspan="4"/>
|
|
<field name="attachment_ids" colspan="4" nolabel="1"/>
|
|
</page>
|
|
</notebook>
|
|
<field name="signature" colspan="4" />
|
|
</group>
|
|
<group col="4" colspan="4" attrs="{'invisible':[('state','!=','single')]}">
|
|
<button icon="gtk-apply" name="sav_to_drafts" string="Save in Drafts" type="object" />
|
|
<button icon="gtk-ok" name="send_mail" string="Send now" type="object" />
|
|
<button icon="gtk-cancel" special="cancel" string="Discard Mail" />
|
|
</group>
|
|
<group col="4" colspan="4" attrs="{'invisible':[('state','=','single')]}">
|
|
<label string="Tip: Multiple emails are sent in the same language (the first one is proposed). We suggest you send emails in groups according to language." colspan="4"/>
|
|
<field name="requested" />
|
|
<field name="generated" />
|
|
<button icon="gtk-ok" name="get_generated" string="Send all mails" type="object" states="multi" colspan="2" />
|
|
<button icon="gtk-cancel" special="cancel" string="Discard Mail" colspan="2" states="multi" />
|
|
</group>
|
|
<button icon="gtk-ok" special="cancel" string="Close" colspan="4" states="done" />
|
|
<field name="state" />
|
|
<newline />
|
|
<label string="After clicking send all mails, mails will be sent to outbox and cleared in next Send/Recieve" colspan="4"/>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|
|
|