As in the image https://imgur.com/a/lZP9Gg5
I am in Invoice Module. In the Tree View, The table(rows) are not sorting When i click on Related Patient
Same is happening in my custom(Appointment) Module When i click on the Patient Name(partner_id).
This is the Appointment Model and Patient is with Many2one relation
Patient Model is inherited from res.partner