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
867df179
Commit
867df179
authored
6 years ago
by
David Monjoie
Browse files
Options
Downloads
Patches
Plain Diff
[IMP] base,doc: re-add consolidation feature to gantt view
closes odoo/odoo#31159
parent
e154d2c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/reference/views.rst
+10
-0
10 additions, 0 deletions
doc/reference/views.rst
odoo/addons/base/rng/gantt_view.rng
+3
-0
3 additions, 0 deletions
odoo/addons/base/rng/gantt_view.rng
with
13 additions
and
0 deletions
doc/reference/views.rst
+
10
−
0
View file @
867df179
...
...
@@ -1287,6 +1287,16 @@ take the following attributes:
``info``, ``muted``, ``primary``, ``success`` or ``warning``).
``default_group_by``
name of a field to group tasks by
``consolidation``
field name to display consolidation value in record cell
``consolidation_max``
dictionnary with the "group by" field as key and the maximum consolidation
value that can be reached before displaying the cell in red
(e.g. ``{"user_id": 100}``)
``consolidation_exclude``
name of the field that describes if the task has to be excluded
from the consolidation
if set to true it displays a striped zone in the consolidation line
``create``, ``edit``
allows *dis*\ abling the corresponding action in the view by setting the
corresponding attribute to ``false``. If ``create`` is enabled, a "+" button
...
...
This diff is collapsed.
Click to expand it.
odoo/addons/base/rng/gantt_view.rng
+
3
−
0
View file @
867df179
...
...
@@ -12,6 +12,9 @@
<rng:attribute
name=
"date_stop"
/>
<rng:optional><rng:attribute
name=
"progress"
/></rng:optional>
<rng:optional><rng:attribute
name=
"consolidation"
/></rng:optional>
<rng:optional><rng:attribute
name=
"consolidation_max"
/></rng:optional>
<rng:optional><rng:attribute
name=
"consolidation_exclude"
/></rng:optional>
<rng:optional><rng:attribute
name=
"string"
/></rng:optional>
<rng:optional><rng:attribute
name=
"create"
/></rng:optional>
<rng:optional><rng:attribute
name=
"edit"
/></rng:optional>
...
...
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