Subject: changeset in tryton:default Remove record and field on widget display 
call
From: Cédric Krier <[email protected]>

changeset 319c61b65e85 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=319c61b65e85
description:
        Remove record and field on widget display call

        changeset fb74e8d64b9d missed to remove it from Form.reset

        issue8107
diffstat:

 tryton/gui/window/view_form/view/form.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2c01a7d22414 -r 319c61b65e85 tryton/gui/window/view_form/view/form.py
--- a/tryton/gui/window/view_form/view/form.py  Sun Feb 10 13:42:16 2019 +0100
+++ b/tryton/gui/window/view_form/view/form.py  Wed Feb 13 10:13:35 2019 +0100
@@ -505,7 +505,7 @@
                 if field and 'invalid' in field.get_state_attrs(record):
                     for widget in widgets:
                         field.get_state_attrs(record)['invalid'] = False
-                        widget.display(record, field)
+                        widget.display()
 
     def display(self):
         record = self.screen.current_record

Reply via email to