diff --git a/controllers/survey.py b/controllers/survey.py index 691ea2a065085b65dea7250425acf040cad86d42..7a70c592f67c6253df521ba55f871d2968f0c680 100644 --- a/controllers/survey.py +++ b/controllers/survey.py @@ -45,7 +45,7 @@ class TrainingSurvey(Survey): if ( survey_sudo.survey_type == "training" and survey_sudo.training_survey_type == "subscribe" - and not training_id + and not (training_id or survey_sudo.training_id) ): return request.env["ir.qweb"]._render( "training_survey.survey_message",