[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 <VincentSchippefilt@users.noreply.github.com> Co-authored-by: Mohammed Shekha <msh@openerp.com> Co-authored-by: Aaron Bohy <aab@odoo.com>
This commit is contained in:
committed by
Aaron Bohy
co-authored by
Mohammed Shekha
Aaron Bohy
parent
8c931ffc2e
commit
9b90d8727d
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user