diff --git a/tryton/gui/window/view_form/view/form_gtk/dictionary.py b/tryton/gui/window/view_form/view/form_gtk/dictionary.py index f613a50660..7bbd56b53b 100644 --- a/tryton/gui/window/view_form/view/form_gtk/dictionary.py +++ b/tryton/gui/window/view_form/view/form_gtk/dictionary.py @@ -45,7 +45,7 @@ class DictEntry(object): return self.widget.get_text() def set_value(self, value): - return self.widget.set_text(value) + return self.widget.set_text(value or '') def set_readonly(self, readonly): self.widget.set_editable(not readonly)