summaryrefslogtreecommitdiff
path: root/addons/website_slides/tests/__init__.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-02-04 17:21:53 +0000
committerThibault Delavallée <tde@odoo.com>2019-02-11 09:55:12 +0000
commit7ee22f12190e776289fa7dd251ecaa091eca5fcd (patch)
treea154272a31f9871ba09a2baa15627fb22ac2e239 /addons/website_slides/tests/__init__.py
parentcbc2de0eb6227f8e86815d403cd7ce9bc55a49b6 (diff)
[IMP] website_slides: improve and add statistics computation
Purpose of this commit is to add some statistics computation on slide.channel model. We want notably to have a count of views and votes (likes and dislikes) on channels. Completion is also computed. Purpose is to be able to search and order channels based on those statistics. Having stored computed fields for some statistics help achieving that purpose. Tests are added. This commit is linked to task ID 1936153 and PR #30985.
Diffstat (limited to 'addons/website_slides/tests/__init__.py')
-rw-r--r--addons/website_slides/tests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_slides/tests/__init__.py b/addons/website_slides/tests/__init__.py
index bb7921266e3..c9a6c617426 100644
--- a/addons/website_slides/tests/__init__.py
+++ b/addons/website_slides/tests/__init__.py
@@ -3,3 +3,4 @@
from . import common
from . import test_security
+from . import test_statistics