flectra/addons/website_links/views/link_tracker.xml

29 lines
1.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<!-- Website links views -->
<record id="view_link_tracker_form_inherit" model="ir.ui.view">
<field name="name">link.tracker.form.inherit</field>
<field name="model">link.tracker</field>
<field name="inherit_id" ref="link_tracker.view_link_tracker_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='source_id']" position="after">
<field name="website_id"/>
</xpath>
</field>
</record>
<!-- Search -->
<record id="view_link_tracker_filter_website" model="ir.ui.view">
<field name="name">Links</field>
<field name="model">link.tracker</field>
<field name="inherit_id" ref="link_tracker.view_link_tracker_filter"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='title']" position="after">
<filter name="website_id" string="Website"
context="{'group_by':'website_id'}"/>
</xpath>
</field>
</record>
</flectra>