diff --git a/tryton/gui/window/view_form/view/form_gtk/calendar.py b/tryton/gui/window/view_form/view/form_gtk/calendar.py index c3c767d513..bfab5539db 100644 --- a/tryton/gui/window/view_form/view/form_gtk/calendar.py +++ b/tryton/gui/window/view_form/view/form_gtk/calendar.py @@ -48,8 +48,7 @@ class Calendar(WidgetInterface): return self.entry.grab_focus() def set_value(self, record, field): - field.set_client(record, self.entry.get_text()) - return True + field.set_client(record, self.get_value()) def get_value(self): return self.entry.date_get(set_text=False)