2010-04-28 11:52:22 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2011-02-25 06:23:46 +00:00
|
|
|
|
2010-04-28 11:52:22 +00:00
|
|
|
<record model="ir.ui.view" id="crm_lead_forward_to_partner_form">
|
|
|
|
<field name="name">crm_lead_forward_to_partner</field>
|
|
|
|
<field name="model">crm.lead.forward.to.partner</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-18 12:45:11 +00:00
|
|
|
<form string="Send Mail" version="7.0">
|
2012-08-24 14:20:00 +00:00
|
|
|
<field name="composition_mode" colspan="2" nolabel="1" invisible="1"/>
|
|
|
|
<field name="model" colspan="2" nolabel="1" invisible="1"/>
|
|
|
|
<field name="res_id" colspan="2" nolabel="1" invisible="1"/>
|
2012-08-09 16:35:29 +00:00
|
|
|
<separator string="Forward to Partner" colspan="4"/>
|
2012-08-24 14:20:00 +00:00
|
|
|
<group col="4">
|
|
|
|
<field name="history_mode" colspan="4"
|
|
|
|
on_change="on_change_history_mode(history_mode, model, res_id)"/>
|
|
|
|
<field name="subject" colspan="4"/>
|
2013-02-22 12:11:55 +00:00
|
|
|
<field name="partner_ids" colspan="4" widget="many2many_tags_email"/>
|
2012-08-24 14:20:00 +00:00
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Body">
|
|
|
|
<field name="body"/>
|
|
|
|
</page>
|
|
|
|
<page string="Attachments">
|
|
|
|
<field name="attachment_ids"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
2010-05-10 12:03:37 +00:00
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
2012-08-24 14:20:00 +00:00
|
|
|
<button name="action_forward" string="Send" type="object"
|
|
|
|
class="oe_highlight"/>
|
2012-07-10 16:40:11 +00:00
|
|
|
or
|
2012-08-24 14:20:00 +00:00
|
|
|
<button string="Cancel" special="cancel"
|
|
|
|
class="oe_link"/>
|
2012-07-10 16:40:11 +00:00
|
|
|
</footer>
|
2011-02-25 06:23:46 +00:00
|
|
|
</form>
|
2010-04-28 11:52:22 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="crm_lead_forward_to_partner_act">
|
|
|
|
<field name="name">Forward to Partner</field>
|
|
|
|
<field name="res_model">crm.lead.forward.to.partner</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
2011-02-25 06:23:46 +00:00
|
|
|
<field name="view_id" ref="crm_lead_forward_to_partner_form"/>
|
2010-04-28 11:52:22 +00:00
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
2010-04-28 13:51:36 +00:00
|
|
|
|
2011-03-08 16:40:02 +00:00
|
|
|
<act_window id="action_crm_send_mass_forward"
|
|
|
|
multi="True"
|
|
|
|
key2="client_action_multi" name="Mass forward to partner"
|
2011-10-26 09:21:33 +00:00
|
|
|
res_model="crm.lead.forward.to.partner" src_model="crm.lead"
|
2011-03-08 16:40:02 +00:00
|
|
|
view_mode="form" target="new" view_type="form"
|
2012-09-04 09:28:20 +00:00
|
|
|
context="{'default_composition_mode' : 'mass_mail'}"
|
2011-10-26 09:21:33 +00:00
|
|
|
view_id="crm_lead_forward_to_partner_form"
|
2012-08-24 14:20:00 +00:00
|
|
|
/>
|
2011-02-28 17:18:27 +00:00
|
|
|
|
2010-04-28 11:52:22 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|