This question has been flagged
1 Reply
2628 Views

i have a treeview inside form view i want to search in the treeview is it possible  ?

Avatar
Discard
Best Answer

Hi,

     Please try this,
    Eg code:
        <filter name="order_line" string="product name" domain="[('order_line.product_id.name','ilike',self)]"/>
        or
        <field name="order_line" string="product name" filter_domain="[('order_line.product_id.name','ilike',self)]"/>

       order_line: Your one2many field
       product_id : Field inside one2many

Thanks !!!  


Aswini @ iWesabe


Avatar
Discard
Author

i want to make searchview in formview there's no searchview

No, it's not possible to define search view for x2many field