Complex search on related one2many field from searchview [odoo 11]
Is there a way to search within a related one2many fields , for example in the products search view i want to get products with combined attribute (e.g color=red, height = 2m), I've added filters to the search view:
<field name="product_attributes_ids" string="Product Color" filter_domain="[('product_attributes_ids.color','ilike',self)]"/>
<field name="product_attributes_ids" string="Product Height" filter_domain="[('product_attributes_ids.height','ilike',self)]"/>
but when searching i get values that did not supposed to appear , Odoo seem to not search in the product attributes with combined values , is this operation possible , is there a workaround to deal with this kind of operation ?