I want to make a filter to search product to sale_order_line but got error.
<field name="line_ids.product_id" string="Sales" filter_domain="[('line_ids.product_id','ilike',self)]"/>
What is the correct one?
You have to make the filter like this:
<field name="line_ids" string="Products" filter_domain="[('line_ids.product_id.name', 'ilike', self)]"/>