From 45feca25fa7f420627dd4202379aa94865798322 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Dufays Date: Wed, 21 Dec 2022 10:02:03 +0000 Subject: [PATCH] [FIX] survey: fix traceback when modifying answers order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Moving an answer of a multiple choice was triggering a traceback. This solves the problem. Technical note: the method _applyX2ManyChange which try to apply commands on local data was trying to read field information for suggested_answer_ids on the list view but that view was lacking that field. Adding that field as invisible on that view solves the problem. Same thing applies for "matrix_row_ids" for matrix questions. Task-3106406 closes odoo/odoo#108775 X-original-commit: f08a19894c7e4515566e9744bab69d6e03174d8c Signed-off-by: Warnon Aurélien (awa) --- addons/survey/views/survey_survey_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/survey/views/survey_survey_views.xml b/addons/survey/views/survey_survey_views.xml index fe036495ec3..1823c278ac1 100644 --- a/addons/survey/views/survey_survey_views.xml +++ b/addons/survey/views/survey_survey_views.xml @@ -73,6 +73,8 @@ + +