'Compute the related field ``self`` on ``records``.'

def _compute_related(self, records):

    super(_RelationalMulti, self)._compute_related(records)
    if self.related_sudo:
        target = records.mapped(self.name)
        target_ids = set(target.search([('id', 'in', target.ids)]).ids)
        accessible = (lambda target: (target.id in target_ids))
        for record in records:
            record[self.name] = record[self.name].filtered(accessible)
