I would like assistance in adapting this code to be compatible with odoo 17
@api.model
def _search(self, args, offset=0, limit=None, order=None, count=False, access_rights_uid=None):
args += [('user_id', '=', self._uid)]
return super(ResPartner, self)._search(args, offset, limit, order, count=count, access_rights_uid=access_rights_uid)