flectra/addons/website_crm/views/crm_lead_view.xml

25 lines
1.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="crm_case_form_view_leads_inherit" model="ir.ui.view">
<field name="name">crm.lead.form.lead.inherit</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='source_id']" position="after">
<field name="website_id"/>
</xpath>
</field>
</record>
<record id="view_crm_case_leads_filter_inherit" model="ir.ui.view">
<field name="name">crm.lead.search.lead</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
<field name="arch" type="xml">
<xpath expr="//group[last()]" position="after">
<filter name="website_id" string="Website"
context="{'group_by':'website_id'}"/>
</xpath>
</field>
</record>
</flectra>