Skip to content
Extraits de code Groupes Projets
Valider edc72376 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[FIX] survey user input subscription with training_id

parent cf8a62b5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -45,7 +45,7 @@ class TrainingSurvey(Survey):
if (
survey_sudo.survey_type == "training"
and survey_sudo.training_survey_type == "subscribe"
and not (training_id or survey_sudo.training_id)
and not (training_id or (answer_sudo and answer_sudo.training_id))
):
return request.env["ir.qweb"]._render(
"training_survey.survey_message",
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter