| 1 |
<?xml version="1.0" encoding="UTF-8" ?> |
| 2 |
<odoo> |
| 3 |
<data> |
| 4 |
|
| 5 |
<record id="survey_user_input_view_form" model="ir.ui.view"> |
| 6 |
<field name="name">survey.user_input.view.form.inherit.survey.crm</field> |
| 7 |
<field name="model">survey.user_input</field> |
| 8 |
<field name="inherit_id" ref="survey.survey_user_input_view_form"/> |
| 9 |
<field name="arch" type="xml"> |
| 10 |
<xpath expr="//button[@name='action_redirect_to_attempts']" position="after"> |
| 11 |
<button class="oe_stat_button" |
| 12 |
icon="fa-star" |
| 13 |
invisible="not lead_id" |
| 14 |
name="action_redirect_lead" |
| 15 |
type="object"> |
| 16 |
<div class="o_stat_info"> |
| 17 |
<span class="o_stat_text">Lead</span> |
| 18 |
</div> |
| 19 |
</button> |
| 20 |
</xpath> |
| 21 |
</field> |
| 22 |
</record> |
| 23 |
|
| 24 |
</data> |
| 25 |
</odoo> |