2011-02-02 08:40:29 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
2011-02-03 11:28:31 +00:00
|
|
|
<menuitem name="Configuration" parent="base.menu_tools"
|
2011-02-17 10:58:44 +00:00
|
|
|
id="base.menu_lunch_survey_root" sequence="20"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_email_message_form">
|
2011-02-08 05:43:39 +00:00
|
|
|
<field name="name">email.message.form</field>
|
|
|
|
<field name="model">email.message</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Email message">
|
2011-02-02 08:40:29 +00:00
|
|
|
<group colspan="4" col="6">
|
2011-03-21 13:31:56 +00:00
|
|
|
<field name="subject" widget="char" size="512"/>
|
2011-02-09 07:00:09 +00:00
|
|
|
<field name="date"/>
|
2011-02-15 12:51:14 +00:00
|
|
|
<field name="user_id" string="User"/>
|
2011-02-08 05:43:39 +00:00
|
|
|
<field name="partner_id" readonly="1" />
|
2011-04-04 10:42:03 +00:00
|
|
|
<field name="priority"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Details">
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator string="Email Followers" colspan="4"/>
|
2011-02-28 12:45:47 +00:00
|
|
|
<field name="email_from"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<field name="email_to"/>
|
|
|
|
<field name="email_cc"/>
|
|
|
|
<field name="email_bcc" groups="base.group_extended"/>
|
|
|
|
<field name="reply_to"/>
|
2011-02-08 05:43:39 +00:00
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
2011-02-02 08:40:29 +00:00
|
|
|
<separator string="Message Details" colspan="4"/>
|
|
|
|
<field name="model" readonly="1"/>
|
|
|
|
<group col="3" colspan="2">
|
2011-04-04 10:42:03 +00:00
|
|
|
<field name="res_id" readonly="1" groups="base.group_extended"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<button name="open_document" string="Open Document" type="object" icon="gtk-jump-to"/>
|
2011-04-04 10:42:03 +00:00
|
|
|
<field name="message_id" groups="base.group_extended" colspan="4"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
</group>
|
2011-04-04 10:42:03 +00:00
|
|
|
<field name="references" widget="char" size="4096" groups="base.group_extended"/>
|
2011-02-08 05:43:39 +00:00
|
|
|
</group>
|
2011-04-15 11:36:54 +00:00
|
|
|
|
|
|
|
<notebook colspan="4">
|
2011-05-02 08:44:29 +00:00
|
|
|
<page string="Body (Text)" attrs="{'invisible':[('sub_type','=','html')]}">
|
|
|
|
<field name="body" colspan="4" widget="text" nolabel="1"/>
|
2011-04-15 11:36:54 +00:00
|
|
|
</page>
|
2011-05-02 08:44:29 +00:00
|
|
|
<page string="Body (HTML)" attrs="{'invisible':[('sub_type','=','plain')]}">
|
|
|
|
<field name="body_html" widget="text_html" nolabel="1" colspan="4"/>
|
2011-04-15 11:36:54 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
|
2011-04-05 12:25:10 +00:00
|
|
|
<separator string="" colspan="4"/>
|
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="state" colspan="2"/>
|
|
|
|
<group col="4" colspan="2">
|
|
|
|
<button name="%(action_email_compose_message_wizard)d" string="Reply" type="action" icon="terp-mail-replied"
|
|
|
|
context="{'mail':'reply', 'message_id':active_id}" states='received,outgoing,sent,exception,cancel'/>
|
|
|
|
<button name="send_email" string="Force Send" type="object" icon="gtk-execute" states='outgoing'/>
|
|
|
|
<button name="process_retry" string="Send Again" type="object" icon="gtk-execute" states='exception,cancel'/>
|
|
|
|
<button name="do_cancel" string="Cancel" type="object" icon="terp-gtk-stop" states='outgoing'/>
|
|
|
|
</group>
|
2011-02-15 07:52:32 +00:00
|
|
|
</group>
|
2011-02-02 08:40:29 +00:00
|
|
|
</page>
|
|
|
|
<page string="Attachments">
|
|
|
|
<separator string="Attachments" colspan="4"/>
|
|
|
|
<field name="attachment_ids" nolabel="1" colspan="4" readonly="1"/>
|
|
|
|
</page>
|
|
|
|
<page string="Advanced">
|
2011-02-08 11:13:08 +00:00
|
|
|
<group col="4" colspan="4">
|
2011-03-03 08:41:32 +00:00
|
|
|
<field name="smtp_server_id"/>
|
2011-02-08 11:13:08 +00:00
|
|
|
<field name="sub_type"/>
|
2011-04-04 10:42:03 +00:00
|
|
|
<field name="debug" groups="base.group_extended"/>
|
2011-02-08 11:13:08 +00:00
|
|
|
<field name="history"/>
|
2011-03-23 13:06:24 +00:00
|
|
|
<field name="auto_delete"/>
|
2011-04-15 11:36:54 +00:00
|
|
|
<separator string="x-headers" colspan="4"/>
|
|
|
|
<field name="headers" colspan="4" nolabel="1" groups="base.group_extended" height="350"/>
|
2011-02-08 11:13:08 +00:00
|
|
|
</group>
|
2011-02-02 08:40:29 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_email_message_tree">
|
|
|
|
<field name="name">email.message.tree</field>
|
|
|
|
<field name="model">email.message</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2011-04-05 12:25:10 +00:00
|
|
|
<tree string="Emails" colors="grey:state in ('sent', 'cancel');blue:state=='outgoing';red:state=='exception';black:state=='received'">
|
2011-02-08 05:43:39 +00:00
|
|
|
<field name="date"/>
|
2011-03-21 13:31:56 +00:00
|
|
|
<field name="subject"/>
|
2011-02-08 05:43:39 +00:00
|
|
|
<field name="email_from"/>
|
2011-02-15 12:51:14 +00:00
|
|
|
<field name="user_id" string="User"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<field name="message_id" string="Message" invisible="1"/>
|
|
|
|
<field name="partner_id" invisible="1"/>
|
2011-02-15 11:09:24 +00:00
|
|
|
<field name="state"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<button name="open_document" string="Open Document" type="object" icon="gtk-jump-to"/>
|
|
|
|
<button name="open_attachment" string="Open Attachments" type="object" icon="gtk-jump-to"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_email_message_search">
|
|
|
|
<field name="name">email.message.search</field>
|
|
|
|
<field name="model">email.message</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Email Search">
|
2011-02-15 11:09:24 +00:00
|
|
|
<separator orientation="vertical"/>
|
2011-04-05 12:25:10 +00:00
|
|
|
<filter icon="terp-camera_test" string="Received" domain="[('state','=','received')]"/>
|
|
|
|
<filter icon="terp-call-start" name="outgoing" string="Outgoing" domain="[('state','=','outgoing')]"/>
|
2011-02-15 11:09:24 +00:00
|
|
|
<filter icon="terp-gtk-stop" string="Exception" domain="[('state','=','exception')]"/>
|
2011-02-28 09:09:19 +00:00
|
|
|
<field name="email_from"/>
|
2011-03-21 13:31:56 +00:00
|
|
|
<field name="subject"/>
|
2011-02-08 05:43:39 +00:00
|
|
|
<field name="date"/>
|
2011-02-15 12:51:14 +00:00
|
|
|
<field name="user_id" string="User"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<field name="partner_id" string="Partner Name"/>
|
2011-02-08 11:13:08 +00:00
|
|
|
<newline/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<group expand="0" string="Group By..." groups="base.group_extended">
|
2011-02-15 11:09:24 +00:00
|
|
|
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
2011-02-15 12:51:14 +00:00
|
|
|
<filter string="User" name="User" icon="terp-personal" context="{'group_by':'user_id'}"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
<separator orientation="vertical"/>
|
2011-02-08 05:43:39 +00:00
|
|
|
<filter string="Thread" icon="terp-mail-" domain="[]" context="{'group_by':'message_id'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Month" help="Creation Month" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
|
2011-02-02 08:40:29 +00:00
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_view_mail_message" model="ir.actions.act_window">
|
|
|
|
<field name="name">Messages</field>
|
|
|
|
<field name="res_model">email.message</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2011-02-14 06:34:35 +00:00
|
|
|
<field name="domain">[('history', '=', True)]</field>
|
2011-04-05 12:25:10 +00:00
|
|
|
<field name="context">{'search_default_outgoing':1}</field>
|
2011-02-02 08:40:29 +00:00
|
|
|
<field name="search_view_id" ref="view_email_message_search"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<act_window domain="[('partner_id', '=', active_id), ('history', '=', True)]"
|
|
|
|
id="act_res_partner_emails" name="Emails"
|
|
|
|
res_model="email.message"
|
|
|
|
src_model="res.partner"
|
|
|
|
view_id="view_email_message_tree"/>
|
|
|
|
|
2011-02-14 06:34:35 +00:00
|
|
|
<menuitem name="Email" id="menu_email_message_tools"
|
2011-02-02 08:40:29 +00:00
|
|
|
parent="base.menu_tools" />
|
|
|
|
|
2011-02-14 06:34:35 +00:00
|
|
|
<menuitem name="Messages"
|
2011-02-02 08:40:29 +00:00
|
|
|
id="menu_email_message"
|
2011-02-03 11:28:31 +00:00
|
|
|
parent="menu_email_message_tools"
|
2011-02-02 08:40:29 +00:00
|
|
|
action="action_view_mail_message" />
|
|
|
|
|
2011-02-03 09:13:49 +00:00
|
|
|
|
2011-02-08 05:43:39 +00:00
|
|
|
<menuitem name="Email" id="menu_config_email" parent="base.menu_lunch_survey_root" sequence="20"/>
|
2011-02-07 08:55:38 +00:00
|
|
|
|
2011-02-02 08:40:29 +00:00
|
|
|
</data>
|
2011-02-14 06:34:35 +00:00
|
|
|
</openerp>
|