def METHOD_NAME(self):
    self.ensure_one()
    if not self.file_report_id or not self.authorization_file_id:
        self.make_pdf()
    if not self.file_report_id:
        raise UserError(_("No PDF file generated!"))
    return self._target_new_tab(self.file_report_id)