45 lines
2.3 KiB
XML
45 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record model="ir.ui.view" id="crm_lead_channel_interested_form">
|
|
<field name="name">crm_lead_channel_interested</field>
|
|
<field name="model">crm.lead.channel.interested</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Send Mail" version="7.0">
|
|
<group col="1">
|
|
<field name="interested" nolabel="1" invisible="1"/>
|
|
<div>
|
|
<div invisible="context.get('interested', True)">
|
|
<label for="comment" string="Why aren't you interested by this lead?" />
|
|
</div>
|
|
<div invisible="not context.get('interested', True)">
|
|
<label for="comment" string="What is the next action? When? What is the expected revenue?" />
|
|
</div>
|
|
</div>
|
|
<field name="comment" nolabel="1"/>
|
|
<div class="oe_inline">
|
|
<field name="contacted" nolabel="1" string="Do you have contacted the customer?"/>
|
|
<label for="contacted" />
|
|
</div>
|
|
<p class="oe_grey" invisible="not context.get('interested', True)">
|
|
Once the lead is processed, it will be in your "Opportunities" menu.
|
|
</p>
|
|
</group>
|
|
<footer>
|
|
<button name="action_confirm" string="Confirm" type="object" class="oe_highlight"/>
|
|
or
|
|
<button string="Cancel" special="cancel" class="oe_link"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record model="ir.actions.act_window" id="crm_lead_channel_interested_act">
|
|
<field name="name">Lead Feedback</field>
|
|
<field name="res_model">crm.lead.channel.interested</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="view_id" ref="crm_lead_channel_interested_form"/>
|
|
<field name="target">new</field>
|
|
</record>
|
|
</data>
|
|
</openerp> |