diff --git a/tryton/gui/window/view_form/view/form_gtk/url.py b/tryton/gui/window/view_form/view/form_gtk/url.py index 337d7dbbf8..13d3002fb8 100644 --- a/tryton/gui/window/view_form/view/form_gtk/url.py +++ b/tryton/gui/window/view_form/view/form_gtk/url.py @@ -49,6 +49,10 @@ class URL(WidgetInterface): def _readonly_set(self, value): self.entry.set_editable(not value) self.entry.set_sensitive(not value) + if value: + self.entry.hide() + else: + self.entry.show() def button_clicked(self, widget): value = self.entry.get_text()