2011-02-17 10:59:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2011-02-21 09:54:01 +00:00
|
|
|
<record model="ir.ui.view" id="email_compose_message_wizard_form">
|
2011-07-22 16:34:57 +00:00
|
|
|
<field name="name">mail.compose.message.form</field>
|
|
|
|
<field name="model">mail.compose.message</field>
|
2011-02-17 10:59:12 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-15 11:17:32 +00:00
|
|
|
<form string="Compose Email" version="7.0">
|
|
|
|
<header>
|
2012-06-27 14:19:17 +00:00
|
|
|
<button name="send_mail" string="Send" type="object" class="oe_highlight_on_dirty" />
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
2012-06-15 11:17:32 +00:00
|
|
|
</header>
|
2011-02-17 10:59:12 +00:00
|
|
|
<group col="6" colspan="4">
|
2011-09-09 15:55:17 +00:00
|
|
|
<field name="model" invisible="1"/>
|
|
|
|
<field name="res_id" invisible="1"/>
|
2011-04-13 13:04:25 +00:00
|
|
|
<field name='filter_id' invisible="context.get('active_model',False)"/>
|
2011-02-17 10:59:12 +00:00
|
|
|
<field name="email_from" colspan="4" required="1"/>
|
|
|
|
<field name="email_to" colspan="4" required="1"/>
|
|
|
|
<field name="email_cc" colspan="4"/>
|
|
|
|
<field name="email_bcc" colspan="4"/>
|
2011-02-23 09:27:08 +00:00
|
|
|
<field name="reply_to" colspan="4"/>
|
2011-03-22 13:37:25 +00:00
|
|
|
<field name="subject" colspan="4" widget="char" size="512"/>
|
2011-08-23 17:58:09 +00:00
|
|
|
<field name="references" invisible="1"/>
|
|
|
|
<field name="message_id" invisible="1"/>
|
2011-02-17 10:59:12 +00:00
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Body">
|
2011-08-23 17:58:09 +00:00
|
|
|
<field name="body_text" colspan="4" nolabel="1" height="300" width="300"/>
|
2011-02-17 10:59:12 +00:00
|
|
|
</page>
|
|
|
|
<page string="Attachments">
|
|
|
|
<field name="attachment_ids" colspan="4" nolabel="1"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2011-02-21 09:54:01 +00:00
|
|
|
<record id="action_email_compose_message_wizard" model="ir.actions.act_window">
|
2011-08-23 17:58:09 +00:00
|
|
|
<field name="name">Compose Email</field>
|
2011-07-22 16:34:57 +00:00
|
|
|
<field name="res_model">mail.compose.message</field>
|
|
|
|
<field name="src_model">mail.compose.message</field>
|
2011-02-17 10:59:12 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
2011-08-23 17:58:09 +00:00
|
|
|
<!-- Replace the default mass-mailing wizard in base with the composition wizard -->
|
|
|
|
<act_window name="Mass Mailing"
|
|
|
|
res_model="mail.compose.message"
|
|
|
|
src_model="res.partner"
|
|
|
|
view_mode="form"
|
|
|
|
target="new"
|
|
|
|
key2="client_action_multi"
|
|
|
|
id="base.action_partner_mass_mail"
|
2011-09-06 09:32:28 +00:00
|
|
|
context="{'mail.compose.message.mode':'mass_mail'}"/>
|
2011-02-17 10:59:12 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|