From a644ada267f896e6cffefc42c76098cec86c5e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 9 Nov 2017 19:01:33 +0100 Subject: [PATCH] Ensure path is converted into tuple to allow comparison in check_recursion issue6905 review35751002 --- tryton/gui/window/view_form/view/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py index 37585dfd2d..e45f515840 100644 --- a/tryton/gui/window/view_form/view/list.py +++ b/tryton/gui/window/view_form/view/list.py @@ -830,7 +830,7 @@ class ViewTree(View): return True if drop_info: path, position = drop_info - check_path = path + check_path = tuple(path) if position in (gtk.TREE_VIEW_DROP_BEFORE, gtk.TREE_VIEW_DROP_AFTER): check_path = path[:-1]