diff --git a/tryton/gui/window/form.py b/tryton/gui/window/form.py index 7eac644a2a..ddaea8933d 100644 --- a/tryton/gui/window/form.py +++ b/tryton/gui/window/form.py @@ -557,7 +557,10 @@ class Form(SignalEvent, TabContent): if value == 'ko': record_id = self.screen.current_record.id if self.sig_reload(test_modified=False): - return record_id == self.screen.current_record.id + if self.screen.current_record: + return record_id == self.screen.current_record.id + elif record_id < 0: + return True return False return True