diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-11-03 13:00:54 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-11-03 13:02:33 +0100 |
| commit | 45d649e44d48aca9f779b67e32611c8bc051eb96 (patch) | |
| tree | f3c1d98c5bb2bd0d741df1f079a5044815c11781 /doc/reference/views.rst | |
| parent | a8959295da533d2e4833535d9597157bd2de1a89 (diff) | |
[FIX] doc: graph <field> does not use :grouping
see #3403 and 7ad4af8
Diffstat (limited to 'doc/reference/views.rst')
| -rw-r--r-- | doc/reference/views.rst | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index c6c9723504a..3b678a37b3c 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -443,8 +443,7 @@ following attributes: ``name`` (required) the name of a field to use in a graph view. If used for grouping (rather - than aggregating), can be augmented with a - :ref:`reference/views/graph/functions` + than aggregating) ``type`` indicates whether the field should be used as a grouping criteria or as an @@ -459,22 +458,16 @@ following attributes: ``measure`` field to aggregate within a group +``interval`` + on date and datetime fields, groups by the specified interval (``day``, + ``week``, ``month``, ``quarter`` or ``year``) instead of grouping on the + specific datetime (fixed second resolution) or date (fixed day resolution). + .. warning:: graph view aggregations are performed on database content, non-stored function fields can not be used in graph views -.. _reference/views/graph/functions: - -Grouping function ------------------ - -Field names in graph views can be postfixed with a grouping function using the -form :samp:`{field_name}:{function}`. As of 8.0, only date and datetime fields -support grouping functions. The available grouping functions are ``day``, -``week``, ``month``, ``quarter`` and ``year``. By default, date and datetime -fields are grouped month-wise. - .. _reference/views/kanban: Kanban |
