diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py index 137b1e0125..d38e25363f 100644 --- a/tryton/gui/window/view_form/view/list.py +++ b/tryton/gui/window/view_form/view/list.py @@ -536,6 +536,7 @@ class ViewTree(View): if order and len(order) == 1: (name, direction), = order if direction: + direction = direction.split(None, 1)[0] direction = { 'ASC': common.IconFactory.get_pixbuf('tryton-arrow-down'), 'DESC': common.IconFactory.get_pixbuf('tryton-arrow-up'),