Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
5bf5d45b
Commit
5bf5d45b
authored
6 years ago
by
RomainLibert
Browse files
Options
Downloads
Patches
Plain Diff
[DOC] dashboard: add help attribute and mention count_distinct
Documentation needed some update
parent
6bd60147
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/reference/views.rst
+10
-0
10 additions, 0 deletions
doc/reference/views.rst
with
10 additions
and
0 deletions
doc/reference/views.rst
+
10
−
0
View file @
5bf5d45b
...
...
@@ -1284,10 +1284,14 @@ There are 5 possible type of tags in a dashboard view:
If not provided, By default, the group_operator from the field definition is used.
Note that no aggregation of field values is achieved if the group_operator value is "".
.. note:: The special aggregate function ``count_distinct`` (defined in odoo) can also be used here
.. code-block:: xml
<aggregate name="price_total_max" field="price_total" group_operator="max"/>
- ``col`` (optional)
The number of columns spanned by this tag (only makes sense inside a
group). By default, 1.
...
...
@@ -1296,6 +1300,9 @@ There are 5 possible type of tags in a dashboard view:
A widget to format the value (like the widget attribute for fields).
For example, monetary.
- ``help`` (optional)
A help message to dipslay in a tooltip (equivalent of help for a field in python)
``formula``
declares a derived value. Formulas are values computed from aggregates.
...
...
@@ -1324,6 +1331,9 @@ There are 5 possible type of tags in a dashboard view:
A widget to format the value (like the widget attribute for fields).
For example, monetary. By default, it is 'float'.
- ``help`` (optional)
A help message to dipslay in a tooltip (equivalent of help for a field in python)
``widget``
Declares a specialized widget to be used to display the information. This is
a mechanism similar to the widgets in the form view.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment