Odoo 14 Inherit search view
This is working:
<!--Inherit picking search view--> <record model="ir.ui.view" id="stock_picking_expand_inherit_search"> <field name="name">stock.picking.search.expand.filter</field> <field name="model">stock.picking</field> <field name="inherit_id" ref="stock.view_picking_internal_search"/> <field name="arch" type="xml"> <xpath expr="//field[@name='name']" position="replace"> <field name="name" string="Transfer" filter_domain="['|','|', ('name', 'ilike', self), ('origin', 'ilike', self),('move_line_ids.product_id.categ_id','child_of',self)]"/> </xpath> </field> </record>