From 39054326c446bf645cfc118d312eecfb6c34c5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 27 Jul 2009 17:06:21 +0200 Subject: [PATCH] Fix default_get to modify the field for https://launchpad.net/bugs/403991 --- tryton/gui/window/view_form/view/form_gtk/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/form_gtk/interface.py b/tryton/gui/window/view_form/view/form_gtk/interface.py index 714566e20d..76f0590718 100644 --- a/tryton/gui/window/view_form/view/form_gtk/interface.py +++ b/tryton/gui/window/view_form/view/form_gtk/interface.py @@ -116,7 +116,7 @@ class WidgetInterface(object): except Exception, exception: process_exception(exception, self._window, *args) self._view.modelfield.set(self._view.model, - res.get(self.attrs['name'], False)) + res.get(self.attrs['name'], False), modified=True) self.display(self._view.model, self._view.modelfield) def _menu_sig_default_set(self, reset=False):