Skip to Content
Menu
This question has been flagged
1 Reply
1118 Views

Hello everyone, Iam new in odoo15 and i have problem to find the XPATH to filter with name Direction, i want to add a new filter after the out, but i cant do this, I try to do some examples but, I do not getit


​fleet.vehicle.inspection.search (in fleet_vehicle_inspection)

​fleet.vehicle.inspection


Avatar
Discard
Best Answer

Hi,

If you need to make any changes in the search view of the module. You can inherit the actual record view and make changes 

example:


<record id="record_id_of_view" model="ir.ui.view">
<field name="name">record.id.of.view</field>
        <field name="model">crm.lead</field>
<field name="inherit_id" ref="fleet_vehicle_inspection.record_id_of_original_view"/>
        <field name="arch" type="xml">
            <filter name="filter_nam" position="attributes">

                   //add your values
            </filter>
        </field>
    </record>



Avatar
Discard
Related Posts Replies Views Activity
1
Feb 24
900
1
Jan 24
2319
4
Dec 23
17480
1
Apr 22
5763
2
May 24
1931