From 4566e1b23db4cdae1c4d95ece51326b4cb5893fc Mon Sep 17 00:00:00 2001 From: ijas ahammed Date: Mon, 20 Sep 2021 12:01:24 +0000 Subject: [PATCH] [IMP] website_slides: improve content list view under reporting menu This commit improves the list view of the contents under reporting menu to make it simpler. Since we don't want to allow multi-edit here this commit adds a different list view for reporting and binds it with the action. Also, the action now excludes the sections from the result, and applies default filter to see 'Published' content while landing as other content will probably have no interesting statistics. Also added float time widget for `completion_time` field. TaskID-2607467 Part-of: odoo/odoo#76930 --- .../views/slide_slide_views.xml | 46 ++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/addons/website_slides/views/slide_slide_views.xml b/addons/website_slides/views/slide_slide_views.xml index ca018fb7a17..b35169518f5 100644 --- a/addons/website_slides/views/slide_slide_views.xml +++ b/addons/website_slides/views/slide_slide_views.xml @@ -285,6 +285,24 @@ + + slide.slide.view.tree.report + slide.slide + + + + + + + + + + + + + + + slide.slide.filter slide.slide @@ -355,7 +373,8 @@ ir.actions.act_window slide.slide graph,tree,form,pivot - + {"search_default_published": 1} + [('is_category', '=', False)]

No data yet! @@ -364,5 +383,30 @@

+ + + + graph + + + + + + tree + + + + + + form + + + + + + pivot + + +