flectra/addons/crm_project/wizard/crm_lead_convert2task_views.xml
2018-01-16 02:34:37 -08:00

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<flectra>
<!-- view of the Wizard Form -->
<record id="crm_lead_convert2task_view_form" model="ir.ui.view">
<field name="name">crm.lead.convert2task.form</field>
<field name="model">crm.lead.convert2task</field>
<field name="arch" type="xml">
<form string="Convert to Task">
<group>
<field name="project_id"/>
</group>
<footer>
<button type="object" name="action_lead_to_project_task" string="Create Task" class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel"/>
</footer>
</form>
</field>
</record>
<!-- action of converting, via wizard -->
<record id="crm_lead_convert2task_action" model="ir.actions.act_window">
<field name="name">Convert to Task</field>
<field name="res_model">crm.lead.convert2task</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</flectra>