Reviewers: ,
Please review this at http://codereview.tryton.org/371001/ Affected files: M tryton/gui/window/view_form/view/form.py Index: tryton/gui/window/view_form/view/form.py =================================================================== --- a/tryton/gui/window/view_form/view/form.py +++ b/tryton/gui/window/view_form/view/form.py @@ -166,8 +166,8 @@ focus_widget.grab_focus() def button_clicked(self, widget): + record_id = self.screen.save_current() record = self.screen.current_record - record_id = self.screen.save_current() attrs = widget.attrs if record_id: if not attrs.get('confirm', False) or \ -- [email protected] mailing list
