From 68207af83c1cde2bcf273ef3dc58c9bfb9c3eca7 Mon Sep 17 00:00:00 2001 From: "Maruan Aguerdouh (magm)" Date: Thu, 22 Dec 2022 13:30:37 +0000 Subject: [PATCH] [FIX] website_slides_survey: fix survey access without elearning rights Steps to reproduce: - We need to have eLearning and Survey installed. - Then we go to Demo or any other users and we remove the access to eLearning and we give it administrator rights to Surveys. - We connect with Demo and we go to the survey app. Issue: We are getting a traceback when trying to access Survey app, because we load the inherited view that calls for the `slide_channel_count` field which is restricted for elearning officers only. Solution: Added proper access rights groups to the inherited views so we won't try to access it without the proper rights. opw-3059128 closes odoo/odoo#109620 X-original-commit: ee0290b90d109fd26724548d7f68c7ff2f6531e9 Signed-off-by: Thibault Delavallee (tde) Signed-off-by: Maruan Aguerdouh Mohtar (magm) --- addons/website_slides_survey/views/survey_survey_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_slides_survey/views/survey_survey_views.xml b/addons/website_slides_survey/views/survey_survey_views.xml index e5954b80757..3adfd7787e9 100644 --- a/addons/website_slides_survey/views/survey_survey_views.xml +++ b/addons/website_slides_survey/views/survey_survey_views.xml @@ -58,7 +58,7 @@ -
+