def METHOD_NAME(self):
    self.ensure_one()
    if not self.validation_url_ok:
        raise UserError(
            _(
                "Go to the Validation URL, enter the required information and "
                "validate, then check the option to attest that you did it."
            )
        )
    self.download_config_id.write(
        {
            "ovh_endpoint": self.endpoint,
            "ovh_application_key": self.application_key.strip(),
            "ovh_application_secret": self.application_secret.strip(),
            "ovh_consumer_key": self.consumer_key.strip(),
        }
    )
    return True