From 39ef0e91c443f2ff7295530b3e91995ef133360a Mon Sep 17 00:00:00 2001 From: "Merlin (megu)" Date: Fri, 8 Apr 2022 09:33:34 +0000 Subject: [PATCH] [FIX] website_slides: show lesson content's resources correctly Additional resources of a lesson content are displayed twice, once as a link and an other time as a file Steps to reproduce: 1. Install eLearning app 2. Go to the website 3. Go to Courses and open course 'Basics of Gardening' 4. Open the first chapter 'Gardening: The Know-How' 5. Exit fullscreen (on the top right) 6. In the course content, the file 'Document' is displayed two times and the link doesn't work Solution: Display the resource as a link or file depending of its type opw-2811279 closes odoo/odoo#88879 X-original-commit: 924c3e849f9f5b2408cefc913ee1d72243417feb Signed-off-by: Guillaume Merlin (megu) --- .../views/website_slides_templates_lesson.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_lesson.xml b/addons/website_slides/views/website_slides_templates_lesson.xml index d6312379909..0650944101c 100644 --- a/addons/website_slides/views/website_slides_templates_lesson.xml +++ b/addons/website_slides/views/website_slides_templates_lesson.xml @@ -169,9 +169,9 @@