From 8e4dedc9a1bb34fd9b14842fc59b81ae78a435bd Mon Sep 17 00:00:00 2001 From: Prakash Prajapati Date: Wed, 31 Aug 2022 05:46:42 +0000 Subject: [PATCH] [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) --- content/developer/reference/backend/views.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/developer/reference/backend/views.rst b/content/developer/reference/backend/views.rst index 09b67da55..49038ffdb 100644 --- a/content/developer/reference/backend/views.rst +++ b/content/developer/reference/backend/views.rst @@ -1164,6 +1164,10 @@ take the following attributes: if set to true, the gantt view will start at the first record, 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`` 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.