From 9b90d8727da9df6eb7ce756c4f9ffb0973e6ea65 Mon Sep 17 00:00:00 2001 From: Vandan Shah Date: Thu, 25 Oct 2018 06:53:00 +0000 Subject: [IMP] web: enable drag&drop in ungrouped kanban views With this rev., the resequencing feature (with drag and drop) that was already available in list views is now available also in kanban views having a field with widget="handle". This works for main as well as x2many kanban views. Some code handling the resequencing has been moved from the list components (controller and renderer) to the basic ones, so that the logic is shared between list and kanban. Task 1902808 closes odoo/odoo#28581 Signed-off-by: VincentSchippefilt Co-authored-by: Mohammed Shekha Co-authored-by: Aaron Bohy --- 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 05e546dfec6..0e6d2578bad 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -1673,9 +1673,10 @@ order. - handle (HandleWidget) - 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. + This field's job is to be displayed as a *handle*, and allows reordering the + various records by drag and dropping them. + .. warning:: It has to be specified on the field by which records are sorted. .. 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