diff options
| author | Sébastien Theys <seb@odoo.com> | 2018-06-12 16:05:18 +0200 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2018-06-29 10:39:42 +0200 |
| commit | b2c1d5ede2254e13bea32451faefa28a6eddcd4c (patch) | |
| tree | e5621cacbda4541b9fe3c7ad114c47a8f5ac1bf1 /doc/reference/javascript_reference.rst | |
| parent | 217fee2636fb4dc4c193e67e5727a9fcef200605 (diff) | |
[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.
Diffstat (limited to 'doc/reference/javascript_reference.rst')
| -rw-r--r-- | doc/reference/javascript_reference.rst | 4 |
1 files changed, 3 insertions, 1 deletions
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* |
