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

[FIX] survey user input subscription with training_id

parent 461b6305
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): ...@@ -45,7 +45,7 @@ class TrainingSurvey(Survey):
if ( if (
survey_sudo.survey_type == "training" survey_sudo.survey_type == "training"
and survey_sudo.training_survey_type == "subscribe" 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( return request.env["ir.qweb"]._render(
"training_survey.survey_message", "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