diff --git a/tryton/gui/window/view_form/screen/screen.py b/tryton/gui/window/view_form/screen/screen.py index d6512aa4c4..d0f4c94bce 100644 --- a/tryton/gui/window/view_form/screen/screen.py +++ b/tryton/gui/window/view_form/screen/screen.py @@ -205,8 +205,8 @@ class Screen(SignalEvent): if value and value.attachment_count > 0: attachment_count = value.attachment_count self.signal('attachment-count', attachment_count) - # update attachment-count after 5 seconds - gobject.timeout_add(5 * 1000, self.update_attachment, value) + # update attachment-count after 1 second + gobject.timeout_add(1000, self.update_attachment, value) return True current_model = property(_get_current_model, _set_current_model)