Contributors mailing list archives

contributors@odoo-community.org

Avatar

Sort Kanban by Drag'n Drop like in TreeView

by
InitOS GmbH, Pete Hahn
- 18/11/2020 08:52:22
Dear Contributors,

I have a simple Kanban view without columns (see attached screenshot)
I know you can sort items based of field values (e.g. `sequence` field)
using `default_order` attribute for `kanban` tag.

I was wondering if there is a possiblity to change order dynamically
using drag'n drop of items like in tree view.

Background: Users may add as much images as they like to the model, but
only some of them are used for reports and exports. I would like to
allow them easily to choose which ones, by allowing them to prioritize
order and only use the Nth first ones.

Thanks, Peter

Follow-Ups