From b2c1d5ede2254e13bea32451faefa28a6eddcd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Tue, 12 Jun 2018 16:05:18 +0200 Subject: [IMP] web: fix default sequence for list with handle The sequence had a static default value, but when there is an handle, it's important that new items are added at the top or the bottom of the list. This is a rare case where the defaul_get from the server will be ignored by the view for a certain field. This will work: - both in editable mode (inline) and in dialog mode, - both for X2Many and standalone list. --- doc/reference/javascript_reference.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/reference') diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst index 720157fef37..6cbfd3563dd 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -1478,9 +1478,11 @@ order. - handle (HandleWidget) - This field's job is to be displayed as a *handle* in a list view, and allow + This field's job is to be displayed as a *handle* in a list view, and allows reordering the various records by drag and dropping lines. + .. warning:: Having more than one field with a handle widget on the same list is not supported. + - Supported field types: *integer* -- cgit v1.2.3