summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2018-07-10 11:13:28 +0200
committerRomainLibert <rli@odoo.com>2018-07-04 16:42:08 +0200
commit0f48701384c022f908d09e98d07f035df8a9c782 (patch)
tree1dfba792c915d64270cd1d697dd00fc40fe6a7f4
parent4206aba48badaaf36ec223c3c07147fa2f672440 (diff)
[DOC] web_cohort: documents mode attribute
Closes #25512
-rw-r--r--doc/reference/views.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index cbb85b71c83..eca2a0ad73f 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1336,6 +1336,11 @@ attributes:
A valid date or datetime field. This field is understood by the view as the
end date of a record. This is the field that will determine the churn.
+- ``mode`` (optional)
+ A string to describe the mode. It should be either 'churn' or
+ 'retention' (default). Churn mode will start at 0% and accumulate over time
+ whereas retention will start at 100% and decrease over time.
+
- ``interval`` (optional)
A string to describe a time interval. It should be 'day', 'week', 'month''
(default) or 'year'.