From 4c72b1536a19cd517046113a5ad93b5782774664 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 16 Oct 2020 14:24:15 +0000 Subject: [FIX] web, doc: remaining_days widget The `remaining_days` widget is intended to be used for informative purpose, hence it should not be editable. opw-2362276 --- doc/reference/javascript_reference.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/reference/javascript_reference.rst') diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst index 638332cf2d8..d6d006cd398 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -1705,8 +1705,9 @@ daterange (FieldDateRange) remaining_days (RemainingDays) This widget can be used on date and datetime fields. In readonly, it displays - the delta (in days) between the value of the field and today. It edit, it - behaves like a regular date(time) widget. + the delta (in days) between the value of the field and today. The widget is + intended to be used for informative purpose: therefore the value cannot be + modified in edit mode. - Supported field types: *date*, *datetime* -- cgit v1.2.3