[ADD] web_gantt: add pill_label attribute in gantt_view

task-2672783

closes odoo/documentation#2649

Related: odoo/enterprise#28372
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Prakash Prajapati 2022-08-31 05:46:42 +00:00
parent c260ecd39d
commit 8e4dedc9a1

View File

@ -1164,6 +1164,10 @@ take the following attributes:
if set to true, the gantt view will start at the first record, if set to true, the gantt view will start at the first record,
instead of starting at the beginning of the year/month/day. instead of starting at the beginning of the year/month/day.
``pill_label``
If set to true, the time appears in the pill label when the scale is set on week or month. (e.g.
`7:00 AM - 11:00 AM (4h) - DST Task 1`)
``thumbnails`` ``thumbnails``
This allows to display a thumbnail next to groups name if the group is a relationnal field. This allows to display a thumbnail next to groups name if the group is a relationnal field.
This expects a python dict which keys are the name of the field on the active model. This expects a python dict which keys are the name of the field on the active model.