[FIX] doc: graph <field> does not use :grouping
authorXavier Morel <xmo@openerp.com>
Mon, 3 Nov 2014 12:00:54 +0000 (13:00 +0100)
committerXavier Morel <xmo@openerp.com>
Mon, 3 Nov 2014 12:02:33 +0000 (13:02 +0100)
see #3403 and 7ad4af8

doc/reference/views.rst

index c6c9723..3b678a3 100644 (file)
@@ -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