def METHOD_NAME(self):
    for dependent in self.dependent_ids:
        if dependent.dependent_dob > fields.Date.context_today(self):
            raise ValidationError(
                _("Invalid birth date for dependent %s") % dependent.name
            )