diff --git a/tryton/gui/window/view_form/view/form_gtk/selection.py b/tryton/gui/window/view_form/view/form_gtk/selection.py index 82c3b3929f..6b0bae4133 100644 --- a/tryton/gui/window/view_form/view/form_gtk/selection.py +++ b/tryton/gui/window/view_form/view/form_gtk/selection.py @@ -130,7 +130,7 @@ class Selection(WidgetInterface): else: found = False for long_text, sel_value in self._selection.items(): - if sel_value == value: + if str(sel_value) == str(value): child.set_text(long_text) found = True break