base_usability: add group by on industry_id on partner search view

This commit is contained in:
Alexis de Lattre
2024-06-13 10:04:08 +02:00
parent 55b84a170e
commit d07e38e1f3

View File

@@ -58,6 +58,9 @@
<!-- for 'ref', change '=' to 'start with' -->
<attribute name="filter_domain">['|', '|', '|', '|', ('display_name', 'ilike', self), ('ref', '=ilike', self + '%'), ('email', 'ilike', self), ('vat', 'ilike', self), ('company_registry', 'ilike', self)]</attribute>
</field>
<group name="group_by" position="inside">
<filter name="group_industry" string="Industry" context="{'group_by': 'industry_id'}"/>
</group>
</field>
</record>