Remove record and field on widget display call

changeset fb74e8d64b9d missed to remove it from Form.reset

issue8107
This commit is contained in:
Cédric Krier committed 2019-02-13 10:13:35 +01:00
1 parent d3ab928971
commit 11ba44a3dc
1 file changed
+1 -1
+1 -1
View File
@@ -505,7 +505,7 @@ class ViewForm(View):
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