summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorDharmraj Jhala <dja@odoo.com>2018-07-02 16:20:58 +0530
committerMartin Geubelle <mge@odoo.com>2018-08-13 16:32:40 +0200
commit03ed4470b4185edcf9610e2a01fe0bbe9909dd9d (patch)
tree50f769cccf3501cae5becd41869589934fda52b1 /doc/reference
parent08b0bc2f71da39d19502795463232e2c43ae8ca9 (diff)
[IMP] doc: document `timeline` attribute on cohort view
Task 1854339 Closes #25576
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index b232135a8f3..adb4616b2b5 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1506,13 +1506,19 @@ attributes:
'retention' (default). Churn mode will start at 0% and accumulate over time
whereas retention will start at 100% and decrease over time.
+- ``timeline`` (optional)
+ A string to describe the timeline. It should be either 'backward' or 'forward' (default).
+ Forward timeline will display data from date_start to date_stop, whereas backward timeline
+ will display data from date_stop to date_start (when the date_start is in future / greater
+ than date_stop).
+
- ``interval`` (optional)
A string to describe a time interval. It should be 'day', 'week', 'month''
(default) or 'year'.
- ``measure`` (optional)
A field that can be aggregated. This field will be used to compute the values
- for each cell. If not set, the cohort view will count the number of occurences.
+ for each cell. If not set, the cohort view will count the number of occurrences.
Search
======