From 869a5b83a57d8a4132507fe89e2bf59c8f5336db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Thu, 16 May 2019 14:51:12 +0000 Subject: [IMP] web: add capability to disable records drag/drop on kanban views This commit adds a recordsDraggable option on the kanban view that allows to completly disable the drag and drop feature. This is a preliminary work for the social 'Feeds' kanban where the user should not be able to drag and drop posts. --- doc/reference/views.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/reference') diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 5e6fa266d93..9ab78b45073 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -1052,6 +1052,8 @@ attributes: whether it should be possible to create records without switching to the form view. By default, ``quick_create`` is enabled when the Kanban view is grouped by many2one, selection, char or boolean fields, and disabled when not. +``records_draggable`` + whether it should be possible to drag records when kanban is grouped. Default: true. Set to ``true`` to always enable it, and to ``false`` to always disable it. -- cgit v1.2.3