diff --git a/tryton/gui/window/view_form/view/form_gtk/char.py b/tryton/gui/window/view_form/view/form_gtk/char.py index ae25a916a4..3cf5a2a73c 100644 --- a/tryton/gui/window/view_form/view/form_gtk/char.py +++ b/tryton/gui/window/view_form/view/form_gtk/char.py @@ -92,7 +92,8 @@ class Char(WidgetInterface, TranslateMixin): return field.set_client(record, value) def get_value(self): - return self.entry.get_text() + entry = self.entry.get_child() if self.autocomplete else self.entry + return entry.get_text() def display(self, record, field): super(Char, self).display(record, field)