From a71fdc058da8e6a88a98adf9fd985e564f1e947e Mon Sep 17 00:00:00 2001 From: qmo-odoo Date: Mon, 6 May 2019 11:19:11 +0000 Subject: [PATCH 1/3] [FIX] website_slides: hide review tab when allow_comment is False This commit fixes the Review tab on the course page. The tab shows up even if the channel does not allow comment. This commits fixes that behavior. Linked to task 1978530 Related to PR #33559 --- .../website_slides/views/website_slides_templates_course.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_course.xml b/addons/website_slides/views/website_slides_templates_course.xml index 38d28900d01..288a4eb718f 100644 --- a/addons/website_slides/views/website_slides_templates_course.xml +++ b/addons/website_slides/views/website_slides_templates_course.xml @@ -167,7 +167,7 @@ Course - @@ -176,7 +176,7 @@
-
+
From e87a74e3ca7b6963a41bca007a5be4011b3debc3 Mon Sep 17 00:00:00 2001 From: qmo-odoo Date: Thu, 9 May 2019 07:07:37 +0000 Subject: [PATCH 2/3] [FIX] website_slides: remove the "uncategorized" label in course view This commit removes the uncategorized label from the course view. Note that it only removes the label, not the content. FP request. Linked to task 1978530 Related to PR #33559 --- .../website_slides/views/website_slides_templates_course.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_course.xml b/addons/website_slides/views/website_slides_templates_course.xml index 288a4eb718f..e00b7d8d26b 100644 --- a/addons/website_slides/views/website_slides_templates_course.xml +++ b/addons/website_slides/views/website_slides_templates_course.xml @@ -336,8 +336,7 @@
- Uncategorized - (empty) + (empty)

+ Unpublished