Hello,
I'm trying to add a group by filter in res partner filter view view_res_partner_filter , so I inherited the view and I have added this code :
partner.xml
<record id="patient_search_view" model="ir.ui.view">
<field name="name">patient.select</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter" />
<field name="arch" type="xml">
<search string="Search Partner" position="inside">
<field name="Mutuelle"/>
<group string="Group By" position="inside">
<filter string="Mutuelles" domain="[]" context="{'group_by': 'Mutuelle'}"/>
</group>
</field>
</record>
partner.py
Mutuelle = fields.Many2one('mutuelle',ondelete='cascade', string='Mutuelle')
so when I click on Mutuelle , the tree view is regrouped by Mutuelle but I can't see the content. what should I do